> On Dec 25, 2017, at 2:36 PM, Michael Hall <mik3h...@gmail.com> wrote:
> 
> 
>> On Dec 25, 2017, at 4:31 PM, David Winsemius <dwinsem...@comcast.net> wrote:
>> 
>> 
>>> On Dec 25, 2017, at 1:39 PM, Michael Hall <mik3h...@gmail.com> wrote:
>>> 
>>> 
>>>> On Dec 25, 2017, at 3:37 PM, David Winsemius <dwinsem...@comcast.net> 
>>>> wrote:
>>>> 
>>>> .libPaths() <- 
>>>> "/Library/Frameworks/R.framework/Versions/3.4/Resources/library"
>>> 
>>> .libPaths() <- 
>>> "/Library/Frameworks/R.framework/Versions/3.4/Resources/library"
>>> Error in .libPaths() <- 
>>> "/Library/Frameworks/R.framework/Versions/3.4/Resources/library" : 
>>> invalid (NULL) left side of assignment
>> 
>> Sorry. Make that:
>> 
>> .libPaths("/Library/Frameworks/R.framework/Versions/3.4/Resources/library”)
> 
> I think that works for the session but it’s not persistent.
> Given .libPaths as…
> 
> .libPaths
> function (new) 
> {
>    if (!missing(new)) {
>        new <- Sys.glob(path.expand(new))
>        paths <- c(new, .Library.site, .Library)
>        paths <- paths[dir.exists(paths)]
>        .lib.loc <<- unique(normalizePath(paths, "/"))
>    }
>    else .lib.loc
> }
> 
> You might notice 
> paths <- c(new, .Library.site, .Library) 
> always tacks that on anyhow.
> 
> .Library
> [1] "/Library/Frameworks/R.framework/Resources/library”
> 
> so that
> .libPaths(“”)
> might make more sense and also works.
> But it is still not persistent. Leave the app and get back in and it’s back 
> to including the user lib.
> How do I persistently get rid of that?

My guess is that you are running the R.app GUI and have not unchecked the 
default settings in the Startup panel of Preferences:



> 
> 

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   
-Gehm's Corollary to Clarke's Third Law





_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to