Re: [R] R command line arguments

2008-01-04 Thread Prof Brian Ripley
On Fri, 4 Jan 2008, Bernd Jagla wrote: > Hi, > > I would like start R in BATCH mode and submit my own parameters. Or in other > words, I would like to specify variables from the command line and execute a > script using those. > > I have been looking at commandArgs and calling R from the command l

[R] R command line arguments

2008-01-04 Thread Bernd Jagla
Hi, I would like start R in BATCH mode and submit my own parameters. Or in other words, I would like to specify variables from the command line and execute a script using those. I have been looking at commandArgs and calling R from the command line under bash: R CMD BATCH --no-save --args