[R] Runnin R prorams from a command line

Ari J Russo ajr240 at nyu.edu
Sun Sep 29 18:58:45 CEST 2002


Hello, I am a new R user, using version 1.5.1.  I am
attempting to run R programs from a dos command line
(in win2000) and am having problems. My goal is to
be able to use R from batch scripts in both windows
and also in Linux eventually later.
 
When I first ran "rcmd BATCH --help" it said that
perl was not found.  after installing perl and
running again, I received the following error:
 
C:\Program Files\R\rw1051\bin>rcmd BATCH -h
Can't locate R/Utils.pm in @INC (@INC contains:
C:\PROGRA~1\R\rw1051\share\per
C:/ActivePerl/Perl/lib C:/ActivePerl/Perl/site/lib
.) at C:\PROGRA~1\R\rw1051/
n/BATCH line 22.
BEGIN failed--compilation aborted at
C:\PROGRA~1\R\rw1051/bin/BATCH line 22.
 
Any help would be much appreciated...
ARI
 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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