[BioC] How to use Rcmd

Wolfgang Huber whuber at jimmy.harvard.edu
Mon Mar 10 17:13:39 MET 2003


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 can
> 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