[R-SIG-Mac] Package installation: setting default library

Simon Urbanek simon.urbanek at r-project.org
Tue Jan 6 00:06:12 CET 2009


On Jan 5, 2009, at 17:33 , Carl Witthoft wrote:

> Honest, I tried to find notes in the archives on this one.  Maybe I  
> used the wrong keywords.
>
> With sys 10.4.11, Intel iMac, I installed R 2.8.1 directly from the  
> dmg installer package.
>
> After that, I tried to install some R packages.  Due to port  
> blocking at work, I have to download the files, unpack, and install  
> from my local directory.
>
> Using the R.app GUI, I selected "Install at System Level" and get an  
> error message something like
>
> " 'lib' variable not found, using default {my local Library/ 
> Frameworks directory}..."
>

Can you be, please, more precise? "something like" doesn't really  
help ...

Thanks,
S


> The default value of libPaths was
>
> [1] "/Users/carl/Library/R/2.8/library"
> [2] "/Library/Frameworks/R.framework/Versions/2.8/Resources/library"
>
> If I ran the command
>
> R> .libPaths(.libPaths()[2])
>
> {thus removing the reference to my local tree}
>
> then the GUI properly installed to the system library tree.
>
> So, is there a better, or simpler, way to make this happen?
>
> thanks
> Carl
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list