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? Best Regards, Margaret Riordan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, Jun 30, 2000 at 12:42:43PM +0100, Margaret Riordan wrote:> 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 >>From the rw1010 README:TERMINAL/BATCH: Rterm.exe will run from a command line such as an MS-DOS or Commands Window running the standard shells, command.com (9x) and cmd.exe (NT), as well as the ports of bash and tcsh that we use. Its primary purpose is to allow batch operation, but it does provide all the facilities needed for interactive use, including simple command-line editing. Batch use: At its simplest, Rterm.exe can be used in a batch mode by commands like Rterm.exe --vsize=10M --nsize=400k --no-restore --no-save < infile > outfile although users will probably want to set up simple .bat or .cmd files to run batch jobs. guido -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 30 Jun 2000, Margaret Riordan wrote:> 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 outputfileOr (better) using Sqpe.exe!> 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?Try reading the rw-FAQ supplied with R for Windows. Question 2.6, as it happens. You might find it worthwhile to read the rest of the documentation too. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._