Rserve参数: - save vs --no-save vs --vanilla

时间:2015-08-03 14:25:25

标签: rserve

我试图理解Rserve参数之间的区别--save, - no-save和--vanilla。我在文档或任何论坛中都没有看到任何描述这些影响的内容。有没有人确切知道这些是做什么的?

在OSX中,我需要指定其中一个来运行Rserve。

1 个答案:

答案 0 :(得分:7)

这些是R个参数,并记录在R文档和--help中:

$ R --help
[...]
  --save                Do save workspace at the end of the session
  --no-save             Don't save it
  --no-environ          Don't read the site and user environment files
  --no-site-file        Don't read the site-wide Rprofile
  --no-init-file        Don't read the user R profile
  --restore             Do restore previously saved objects at startup
  --no-restore-data     Don't restore previously saved objects
  --no-restore-history  Don't restore the R history file
  --no-restore          Don't restore anything
  --vanilla     Combine --no-save, --no-restore, --no-site-file,
            --no-init-file and --no-environ