[R] variables from command line

2005-09-07 Thread Omar Lakkis
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 The script with read in the input values, process them and spit the output to r.out. _

Re: [R] variables from command line

2005-09-08 Thread Martin Maechler
> "Omar" == Omar Lakkis <[EMAIL PROTECTED]> > on Wed, 7 Sep 2005 10:47:43 -0400 writes: Omar> How can I pass parameters to an R script from the Omar> command line. And how can I read them from within the Omar> script? Omar> This is how I want to invoke the script: R CM