How to use Rcmd
3
0
Entering edit mode
Zhao, Po ▴ 90
@zhao-po-195
Last seen 9.7 years ago
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. Po
• 4.4k views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 5 weeks ago
EMBL European Molecular Biology Laborat…
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. >
ADD COMMENT
0
Entering edit mode
Zhao, Po ▴ 90
@zhao-po-195
Last seen 9.7 years ago
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? Thanks. Po -----Original Message----- From: Wolfgang Huber [mailto:whuber@jimmy.harvard.edu] Sent: Monday, March 10, 2003 3:14 PM To: Zhao, Po Cc: bioconductor@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 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. >
ADD COMMENT
0
Entering edit mode
A.J. Rossini ▴ 810
@aj-rossini-209
Last seen 9.7 years ago
Rcmd.exe should be in the same directory as Rterm.exe and Rgui.exe, i.e. the "bin" directory under where you installed R. "Zhao, Po" <pzhao@cnmcresearch.org> writes: > 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? > > Thanks. > > Po > > -----Original Message----- > From: Wolfgang Huber [mailto:whuber@jimmy.harvard.edu] > Sent: Monday, March 10, 2003 3:14 PM > To: Zhao, Po > Cc: bioconductor@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 > 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. >> > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor > -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics rossini@u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini@scharp.org -------------- http://software.biostat.washington.edu/ -------------------- FHCRC:Tu: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (CHANGE: monday/wednesday/friday locations are completely unpredictable.)
ADD COMMENT

Login before adding your answer.

Traffic: 392 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6