[BioC] How to use Rcmd

Zhao, Po PZhao at cnmcresearch.org
Mon Mar 10 17:37:45 MET 2003

Thanks for your email.

If I just enter "Rterm.exe", a R session will start with R prompt.

If I enter "Rterm.exe --no-restore --no-save < %1 > %1.out", shown is:

D:\Program Files\Rma\bin>Rterm.exe --no-restore --no-save < %1 > %1.out
The system cannot find the file specified.

Where can I download Rcmd program?



-----Original Message-----
From: Wolfgang Huber [mailto:whuber at jimmy.harvard.edu]
Sent: Monday, March 10, 2003 3:14 PM
To: Zhao, Po
Cc: bioconductor at stat.math.ethz.ch
Subject: Re: [BioC] How to use Rcmd

Hi Po,

do you have the program "rcmd" on your computer? Probably not - normally
you have to get it separately. Here, from the Windows FAQ, how you can 
also run R in batch mode with rterm.exe:

2.9 Can I use R BATCH?

Yes, if you have Perl and the files for making source packages (from
rw1062.exe) installed. The Windows
analogue is Rcmd BATCH: use Rcmd BATCH --help for full details.

Otherwise 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 --no-restore --no-save < %1 > %1.out

Best - 
Wolfgang Huber
Division of Molecular Genome Analysis
German Cancer Research Center
Heidelberg, Germany

On Mon, 10 Mar 2003, Zhao, Po wrote:

> Hi,
> I am using Windows NT, R 1.6.2. I try to use command "Rcmd" in my DOS
> window, but when I typed in "Rcmd BATCH" in the "bin" directory of R, it
> not be recognized. Showing is:
> D:\Program Files\Rma\bin>Rcmd BATCH
> The name specified is not recognized as an
> internal or external command, operable program or batch file.
> How should I use Rcmd command? Thanks.

More information about the Bioconductor mailing list