[R] R CMD BATCH command

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 6 08:32:40 CEST 2007


On Tue, 5 Jun 2007, Peter Dalgaard wrote:

> Austin, Peter wrote:
>> The version of R on our unix system has been updated to version 2.5.0.
>> When I type the following command at the unix prompt:
>>
>> 'R CMD BATCH filename'
>>
>> I receive the following error message:
>>
>> Error in Sys.unsetenv("R_BATCH") : 'Sys.unsetenv' is not available on
>> this system
>>
>> Execution halted.
>>
>>
>>
>> 'R CMD BATCH filename' used to work with the prior version of R that I
>> had installed (version 2.2.0). Is there something that I need to modify
>> for it to work now?
>>
>> Thanks,
>>
>> Peter
>>
>>
> A similar problem was found on an old version of Solaris and discussed
> on this very list on May 14 (use the list archive and look for the
> thread started by Simon Penel). This could be similar to your problem
> (but you omitted to tell us what system you were on).

And that problem has been fixed in R-patched, so please try R-patched.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list