From adrian_humbert at yahoo.com  Fri May  9 17:33:54 2003
From: adrian_humbert at yahoo.com (adrian_humbert@yahoo.com)
Date: Mon May 12 08:26:35 2003
Subject: [Rd] problems with Rcmd BATCH (PR#2965)
Message-ID: <200305091433.h49EXs2b001018@pubhealth.ku.dk>

Hello, 

I have a test file that runs OK with 
> Rterm.exe --no-restore  < filename.R 

When I try 
> Rcmd BATCH filename.R 
I get the following error message:

Can't locate R/Utils.pm in @INC (@INC contains:
C:\PROGRA~1\R\rw1070\share\perl
c:/Perl/lib c:/Perl/site/lib .) at
C:\PROGRA~1\R\rw1070/bin/BATCH line 22.
BEGIN failed--compilation aborted at
C:\PROGRA~1\R\rw1070/bin/BATCH line 22.

If I edit the file BATCH on line 22 and I comment out 
line 22 (use R::Utils), Rcmd BATCH works fine. 

Am I doing something wrong or is this a bug?  Perl is
installed, and in the path. 

Thank you, 
Adrian. 

R Rocks!


[Rd] problems with Rcmd BATCH (PR#2965)
adrian_humbert@yahoo.com