[R] Command Line Arguments passed to R
Uwe Ligges
ligges at statistik.uni-dortmund.de
Wed Aug 23 08:20:04 CEST 2000
Alex Morgan wrote:
>
> Is there a way to pass command line arguments to R for use in BATCH mode
> or something similar?
Please tell us on which OS you are working and which version of R you
are using (assuming R-1.1.1).
As I can see from the mail header, you are running WinNT, so you should
read the "R for Windows FAQ".
Here the relevant part to answer your question:
----------
2.6 Can I use R BATCH?
No, but you can set up a batch file using Rterm.exe. A sample batch file
might contain (as one line)
path_to_R\bin\Rterm.exe --vsize=10M --nsize=500k --no-restore --no-save
< %1 > %1.out
----------
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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