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

Rserve arguments: --save vs --no-save vs --vanilla

我试图了解 Rserve 参数 --save、--no-save 和 --vanilla 之间的区别。我没有在文档或任何论坛中看到任何描述这些效果的内容。有谁知道这些到底是做什么的?

在 OSX 中,我需要将其中之一指定为 运行 Rserve。

这些是 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