[R-SIG-Mac] .libPaths

Michael Hall mik3hall at gmail.com
Tue Dec 26 01:33:47 CET 2017


> On Dec 25, 2017, at 5:09 PM, Michael Hall <mik3hall at gmail.com> wrote:
> 
> 
>> On Dec 25, 2017, at 5:01 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>> 
>> 
>>> 
>> 
>> My guess is that you are running the R.app GUI and have not unchecked the default settings in the Startup panel of Preferences:
> 
> Correct that this from the app. It is also consistent with what RStudio shows for .libPaths.
> The preferences item, however, is unchecked.
> I just tried setting it. Exiting the app. Going back in, unchecking it. Exiting the app. 
> After going back in the user lib was still there. 

What did work was this from Terminal…

rm -r /Users/mjh/Library/R/3.4/library

apparently eliminating it from .libPaths with this…
paths <- paths[dir.exists(paths)]
?

I had tried removing everything from the directory at one point but then I did a mkdir for the directory itself thinking it would do no harm at least having it there.
But apparently it can be a problem if it even exists it then seems to become the default period?



More information about the R-SIG-Mac mailing list