How can I pass parameters to an R script from the command line. And
how can I read them from within the script?

This is how I want to invoke the script:
R CMD BATCH r.in r.out  <input values>

The script with read in the input values, process them and spit the
output to r.out.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to