>>
>> 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?

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to