[R] Possible command line bug.

Noah Silverman noah at smartmediacorp.com
Wed Oct 14 00:37:02 CEST 2009


I think I've come across a bug in the command line switches.

 From "R --help"
--------------------------------
   --vanilla        Combine --no-save, --no-restore, --no-site-file,
             --no-init-file and --no-environ
   --slave               Make R run as quietly as possible
   -q, --quiet           Don't print startup message
-------------------------------

So, if I understand this correctly, I should be able to call: 
"/usr/bin/R --vanilla --slave --quiet <test.r"

R should then run with NO OUTPUT unless I choose to print something from 
my code.

This works, except it is still printing the startup message.  It appears 
as if I can call either --slave or --quiet, but both together doesn't 
work. (Just the slave option seems used.)

Am I missing something or is this a bug?

-N




More information about the R-help mailing list