On Wed, Mar 9, 2011 at 6:09 PM, Frank Harrell wrote:
> Thanks Uwe. Too bad there is no system option I can set one time, that will
> always take precedence.
>
You could use the Defaults package to change the default value of the
lib argument of install.packages. That is put this in your .Rprofi
Thanks Uwe. Too bad there is no system option I can set one time, that will
always take precedence.
Frank
Uwe Ligges-3 wrote:
>
> install.packages(, lib='/usr/local/lib/R/site-library')
>
> otherwise you have to ensure that this library is the first one in
> .libPaths() and watch out th
install.packages(, lib='/usr/local/lib/R/site-library')
otherwise you have to ensure that this library is the first one in
.libPaths() and watch out that it is not changed by any of the many
mechanisms that allow for adding libraries to the search path.
Uwe
On 09.03.2011 00:53, Frank Ha
Using R on Linux I want to force downloaded packages to go into
/usr/local/lib/R/site-library. I have an .Rprofile file in my home
directory containing the following:
options(help_type='html', browser='chromium-browser',
repos='http://www.ibiblio.org/pub/languages/R/CRAN',
lib='/usr/local/lib/R/s
4 matches
Mail list logo