[R-SIG-Mac] Where are my packages?

David Winsemius dwinsemius at comcast.net
Tue May 24 02:39:26 CEST 2011


On May 23, 2011, at 8:28 PM, Wayne Gray wrote:

> Berend,
>
> Many thanks for your note. Of the ones that were sent yours was the  
> most useful. I can now find my packages even if I don't know why  
> they are in the /Library/Frameworks/R.framework/Resources/library  
> directory rather than in the /Library/R/2.12/library.

Because in the R.framework tree is where they are _supposed_ to be:

http://r.research.att.com/man/R-admin.html#Installing-R-under-Mac-OS-X

-- 
David.

>
> Even better, I was able to use your tip to update all of my packages  
> from 2.12 to 2.13.
>
> Yours,
>
> Wayne Gray
>
>
>
> On May 19, 2011, at 15:11, Berend Hasselman wrote:
>
>>
>> On 19-05-2011, at 20:48, Wayne Gray wrote:
>>
>>> I just upgraded to 2.13 from 2.12.
>>>
>>> As far as I can figure things are working well except that none of  
>>> the packages I downloaded for 2.12 are available to 2.13. That  
>>> would not be an issue as it is easy to download packages as  
>>> needed. I can do this and they work.
>>>
>>
>> So you have downloaded what you need?
>> How did you install?
>> With the GUI?
>>
>>> What is the issue is that I don't know where they are being  
>>> stored. The ones for 2.12 are here:
>>>
>>> /Users/wgray/Library/R/2.12/library
>>>
>>> 2.13 created a similar directory but there is nothing in it.
>>>
>>
>> On system level in /Library/Frameworks/R.framework/Resources/ 
>> library/<package>
>>
>>
>>> In the Preferences for 2.13 I do have the box checked to make  ~/ 
>>> Library/R... the default path (as per the screen shot attached to  
>>> this email but probably stripped out by the listserv software).  
>>> And, yes, I have restarted my machine several times since this was  
>>> checked (I think I set this two days ago).
>>>
>>> So stuff is somewheres as the package install when I load them. I  
>>> would like to know (a) where they are, (b) how I can get them to  
>>> go into the ~/Library/R... directory, and (c) whether it is  
>>> prudent and reasonable to move everything that is in the 2.12  
>>> library into the 2.13 library.
>>>
>>
>> See section 5.2 of the R For Mac OS X FAQ. It explains it all.
>>
>> You seem to be running the R GUI.
>> From the menu select Packages & Data, Package Installer.
>> Choose CRAN (binaries) for Packages repository (assuming you want  
>> binaries).
>> In the search box (on the righthand side of the panel) click on the  
>> little triangle.
>> Click on Select packages from R2.12. <=====  that's the magic
>> (You may also have to click on Get List).
>> Click on Update All.
>>
>> I hope that I got this right (it's what I did when updating from  
>> 2.12 to 2.13)
>>
>> Berend
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius, MD
West Hartford, CT



More information about the R-SIG-Mac mailing list