[R] Rcmd BATCH vs. Rterm.exe

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 25 15:00:13 CEST 2003

[I've corrected the subject.]

On Fri, 25 Apr 2003, "Unternährer Thomas, uth" wrote:

> What exactly is the difference in call r from a batch between this two ways:
> Rterm.exe ...
> Rcmd BATCH ... (I have to install perl first, I know)
> I haven't found any documentation about the difference (readme, FAQs, ...).
> I use rterm.exe, but is there a benefit in using rcmd?
> Can you explain me that or give me a link?

It depends on the `...' you had in mind.

Rcmd BATCH is

1) compatible with R CMD BATCH under Unix-alikes
2) saves remembering complicated commands.
3) works the same way across R versions (whereas direct use of rterm
does not work the same way in 1.6.2 and 1.7.0).

The references are

a) the rw-FAQ
b) the source code.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
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

More information about the R-help mailing list