In question How to suppress R startup message?, starting rterm
with --quiet
will suppress the copyright and welcome messages. I wonder if I can do the same thing to the R Console started by RStudio?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can't do this in RStudio. Apparently it is on their "to do" list.
There are a couple references on the RStudio support site, stating the above.
https://support.rstudio.com/hc/communities/public/questions/200662563-pass-command-line-parameters-to-R-
https://support.rstudio.com/hc/communities/public/questions/200662897-Pass-command-line-options-to-R