[R] BATCH jobs in R

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jun 30 14:35:23 CEST 2000


Margaret Riordan wrote:
> 
> Hi,
> 
> I have recently began using R as a replacement package for S-plus. My
> first impressions are that it a very powerful statistical tool.
> 
> I have a quick question on using batch jobs in R:
> 
> In S-plus, a batch job can be run externally using:
> 
> splus /batch inputfile outputfile
> 
> In the UNIX version of R a batch job can be run as:
> 
> R <inputfile> outputfile --save &
> 
> I have been investigating using batch jobs with R in a Windows
> environment.
> It seems the R requires an argument to run a batch job here such as:
> 
> R BATCH inputfile outputfile
> 
> However, the versionof R(1.1.0) which we are running does not recognise
> this BATCH argument. Do you have any information on this?

>From the "R for Windows FAQ":


2.6 Can I use R BATCH?

No, but you can set up a batch file using Rterm.exe. A sample batch file
might contain (as one line) 
path_to_R\bin\Rterm.exe --vsize=10M --nsize=500k --no-restore --no-save
< %1 > %1.out


Regards,
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list