[R] Errors running R in Batch mode under Win2000

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jan 8 15:32:06 CET 2003


Wolfgang Scherr wrote:
> 
> I have made many different attempts to run a R program in Batch mode. I run a DOS command like:
> 
> C:\Progra~1\R\rw1061\bin\rterm.exe  -q --no-restore --no-save   myprogram.R  out.txt
> 
> What happens:
> 1. DOS Shell starts up well
> 2. R starts
> 3. I get the messages:
>     "ARGUMENT 'myprogram.R' __ignored__"
>     "ARGUMENT 'out.txt' __ignored__"
> 4. R Shell is ready to roll (which is nice, but not what I intended to get)
> 
> Help is greatly appreciated: how can I start myprogram.R?

See the R for Windows FAQs, Section 2.9: "Can I use R BATCH?"

Uwe Ligges




More information about the R-help mailing list