[Rd] Using custom R_LIBS with R CMD install

Hadley Wickham hadley at rice.edu
Wed Feb 8 22:36:32 CET 2012


> It's hard to provide a reproducible example because it depends on
> exactly what package you have installed where, but I had hoped that
> this would at least illustrate my problem - R CMD install doesn't seem
> to be respecting R_LIBS.  I'm trying to understand whether this is a
> bug, or something I don't understand correctly about R CMD INSTALL.

Ok - found the problem.  I had

R_LIBS=~/R

in my .Renviron

which overrides the environment variable.

Hadley

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



More information about the R-devel mailing list