[Rd] Using custom R_LIBS with R CMD install

Hadley Wickham hadley at rice.edu
Thu Feb 9 14:32:51 CET 2012

>> To clarify, system2 doesn't work in windows?
> It does.
>> The system2
>> documentation has: " On Windows, ‘env’ is currently only supported for
>> commands such as ‘R’ and ‘make’ which accept environment variables on
>> their command line."
> Yes, but "R CMD INSTALL" does not accept those variables in the command
> line. This could perhaps be improved given someone finds some time to do it.

Ok, so R does, but R CMD INSTALL does not.  That was the source of my
confusion - thanks for clearing that up!

However, is there a reason that system2 doesn't use the more general
technique of Sys.setenv?


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

More information about the R-devel mailing list