From hadley at rice.edu  Wed Feb  8 22:36:32 2012
From: hadley at rice.edu (Hadley Wickham)
Date: Wed, 8 Feb 2012 15:36:32 -0600
Subject: [Rd] Using custom R_LIBS with R CMD install
In-Reply-To: <CABdHhvEyt1G9Bab10vUJMfinhq4YuNtA6qoV1M-rdm67huu1kA@mail.gmail.com>
References: <CABdHhvELJ6SDQ0qSfGrxn-Rju1-=8Vr0=1QQ6bvQKxgHQZ_JQw@mail.gmail.com>
	<4F32BE3C.8050304@statistik.tu-dortmund.de>
	<CABdHhvFdJsRDz3xehivG2vm+0Z=wVtm4gviNp9yh5RLex24WNg@mail.gmail.com>
	<4F32C764.1070400@statistik.tu-dortmund.de>
	<CABdHhvEyt1G9Bab10vUJMfinhq4YuNtA6qoV1M-rdm67huu1kA@mail.gmail.com>
Message-ID: <CABdHhvE6Kce7JerMDQCL=UTwgfLtK_9AbAOs6sSvEOmmJRKQBQ@mail.gmail.com>

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



[Rd] Using custom R_LIBS with R CMD install
Hadley Wickham