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!