[R] Errors running R in Batch mode under Win2000
ripley at stats.ox.ac.uk
Wed Jan 8 15:38:03 CET 2003
See the rw-FAQ. Please do check the FAQs before posting.
This is not how you start any C program in batch mode under any OS I am
aware of, and certainly not under Windows. You need to learn about
redirection (< and >).
On Wed, 8 Jan 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?
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help