On Fri, 25 Feb 2005, Brahm, David wrote:

I have never understood the difference between
R CMD BATCH --vanilla --slave myScript.R outFile.txt
and
R --vanilla --slave < myScript.R > outFile.txt

[On Unix-alikes]

Mainly cosmetics, e.g. the first adds timings and options(echo=TRUE) and generates a suitably named outfile. [Also sets --restore --save which you then override.]

It used to set --gui=none to avoid the overhead of loading the X11 module.

More importantly, the first redirects stderr and yours does not, but see my reply to the OP's other thread for a closer equivalent.

[...]

--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to