Skip to content

how to run .r batch file

1 message · Duncan Murdoch

#
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._