[R] Command Line Arguments passed to R

Thomas Lumley thomas at biostat.washington.edu
Wed Aug 23 19:00:18 CEST 2000


On Tue, 22 Aug 2000, Alex Morgan wrote:

> Is there a way to pass command line arguments to R for use in BATCH mode
> or something similar?

help(commandArgs)

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle
> 
> -- 
> -Alex Morgan		Homepage:   http//pubpages.unh.edu/~amorgan
> 			AIM login:  HomeySage
> 
> "Anyway, no drug, not even alcohol, causes the fundamental ills of
> society.
> If we're looking for the source of our troubles, we shouldn't test
> people
> for drugs, we should test them for stupidity, ignorance, greed and love
> of
> power."   P.J. O'Rourke
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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