[R] how to run .r batch file

Ko-Kang Kevin Wang Ko-Kang at xtra.co.nz
Fri Mar 29 01:13:16 CET 2002

----- Original Message -----
From: <lj22 at u.washington.edu>
To: "Ko-Kang Kevin Wang" <Ko-Kang at xtra.co.nz>
Sent: Friday, March 29, 2002 12:08 PM
Subject: Re: [R] how to run .r batch file

> > That is the problem.  You can't run it under RGui.  You should do it in
> > command line mode, i.e. in DOS prompt under Windows (Start -> Run... ->
> Well, I did try that. but it didnt work. It said
> 'Rcmd' is not recognized as an internal or external command
> operable program or batch file.
> I did set up the path. I can run Rterm from anywhere in DOS. if you go
into the R\bin\ directory. there's no executable for "Rcmd". it's not
surprising that it wont run under dos.
> so what's the problem here.

How did you install R?  Which version of R are you running?  I do not know
why Rcmd is not in the R\bin directory, you might want to consider
resintalling (the latest version) R.

By the way it is a good idea to cc your follow-up questions to r-help.
There is a chance that someone else had encountered the same problem before
and can tell you straight away what is wrong.



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

More information about the R-help mailing list