[R] batch jobs question

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Feb 8 23:40:05 CET 2005


On Tue, 8 Feb 2005, Chao Zhu wrote:

> I'm doing some R batch jobs in Unix.
> Something like
> R <prog1> output1 --save &
> R <prog2> output2 --save &

Consider R CMD BATCH instead: it redirects the error/warnings too, which I 
expect you would want to do.

> prog1 and prog2 are running at the same time and they are essentially 
> same except it contains different parameter values. I was wondering if 
> two processes will affect each other? Hopefully they are two independent 
> jobs.

They will save in the same file unless you run them from separate 
directories.

-- 
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 mailing list