[R] R BATCH mode

Thomas Lumley tlumley at u.washington.edu
Sat Nov 17 19:38:48 CET 2001


On Fri, 16 Nov 2001, Wolfgang Mueller wrote:

> hihi
>
> easy!
> i would like run r in batch mode. how could i pass through arguments for
> my r.script.
> for example: r batch my_script.R arg1 arg2
>
> and how must i modify the r script.
>

Look at help(commandArgs)

	-thomas


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