Ok, here is the response I get after R freshly booted via icon:


Rgames: .libPaths()
[1] "/Users/carl/Library/R/2.8/library"
[2] "/Library/Frameworks/R.framework/Versions/2.8/Resources/library"

-----
then I selected Install local package directory, with System framework as target location
 ---

Warning in install.packages("/Users/carl/Downloads/gtools", , NULL, type = "source") :
  argument 'lib' is missing: using '/Users/carl/Library/R/2.8/library'
WARNING: ignoring environment value of R_HOME
* Installing *binary* package 'gtools' ...
* DONE (gtools)
Rgames:

So, it sort of looks like the PackageInstaller GUI window isn't filling in the right library path when I click the Install At System Level button.

Or, is there some way to get .libPaths to list the paths in a different order or something like that?


Simon Urbanek wrote:

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
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac






_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to