[R] passing args to R CMD BATCH in win 2000
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Aug 2 13:33:28 CEST 2007
On Thu, 2 Aug 2007, Uwe Ligges wrote:
> Stephen.Bond at ohrc.on.ca wrote:
>> Hello and sorry to bother.
>> Please help.
>> I searched the archives but could not find out why --args is being ignored
>> on Windows 2000.
> That does not work with R CMD BATCH, AFAIK. In fact, you want to use:
> Rterm --no-save --args "12" < 11.R > 11.Rout
Or Rscript, which is designed for this sort of job.
> Uwe Ligges
>> I try
>> R CMD BATCH --slave 11.R 11.Rout --args "12"
>> and 11.R has
>> the argument is not passed to the R process.
>> 11.Rout only shows processing time and 13.out does not have the value.
>> Thank you all.
>> [[alternative HTML version deleted]]
>> R-help at stat.math.ethz.ch mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
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