[R] running R in batch with stdin input

2006-06-15 Thread Eric Hu
Hi I have a R script that needs to run a few times for different systems. I use R --no-save r.script for one system. I am trying with no luck to use R CMD BATCH to introduce an stdin input variable for the script. I wonder if anyone can provide the correct usage to put the variable in the command

Re: [R] running R in batch with stdin input

2006-06-15 Thread Adaikalavan Ramasamy
?commandArgs On Thu, 2006-06-15 at 16:05 -0700, Eric Hu wrote: Hi I have a R script that needs to run a few times for different systems. I use R --no-save r.script for one system. I am trying with no luck to use R CMD BATCH to introduce an stdin input variable for the script. I wonder if