[R] how to run .r batch file

Duncan Murdoch dmurdoch at pair.com
Fri Mar 29 13:48:39 CET 2002


You don't get Rcmd installed unless you check the "Source package
installation files" option when running SetupR.

The "Introduction to R" manual explains the 3 ways to run R in
Windows.  Rgui is the windowed version, Rterm is the command line
version, and Rcmd is a wrapper that calls Rterm.  I'd suggest that you
just use Rterm:

  Rterm --vanilla <myfile.R >myfile.out

will do what you want.  

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list