Skip to content

lib location different between GUI and terminal?

5 messages · Simon Urbanek, Ingmar Visser

#
On May 20, 2008, at 11:05 AM, Ingmar Visser wrote:

            
Apparently you told the GUI to set it, see R -> Preferences -> Startup  
-> Default Library Paths

That setting is often used by users that either don't have admin  
privileges or want to keep their set of packages separate from the  
system ones. The default is off, so you must have enabled it at some  
point.

Cheers,
Simon
#
I did not do anything of the sorts, unless it was subconsciously, I  
had just freshly installed 2.7.0
Could it be accidentally set somehow? Through the package installer  
menu?
Just wild guesses here ...
Best, Ingmar
On May 20, 2008, at 5:22 PM, Simon Urbanek wrote:

            
#
On May 20, 2008, at 5:22 PM, Simon Urbanek wrote:
Dear Simon and R mac fans,

After unsetting the default library paths option in the preferences I  
get:

 > .libPaths()[1]
[1] "/Library/Frameworks/R.framework/Versions/2.6/Resources/library"

And in the terminal I get:

 > .libPaths()
[1] "/Library/Frameworks/R.framework/Resources/library"

After freshly installing 2.7.0 I get in the GUI:

 > .libPaths()
[1] "/Library/Frameworks/R.framework/Versions/2.7/Resources/library"

And after setting the default lib path in the preferences pane:

[1] "/Users/ivisser/Library/R/2.7/library"
[2] "/Library/Frameworks/R.framework/Versions/2.7/Resources/library"

And in the terminal:

 > .libPaths()
[1] "/Library/Frameworks/R.framework/Resources/library"

In the package install menu the default checked option is at "System  
level" meaning in the R framework but it
seems that that could still be one of two possible paths, ie the  
versioned path from the GUI or the unversioned
path from the terminal.

Best, Ingmar
#
On May 20, 2008, at 1:43 PM, Ingmar Visser wrote:

            
They are both the same. The unversioned path is just a symlink to the  
versioned path. The "real" location is always the versioned path.

Cheers,
Simon