[R-SIG-Mac] Where are my packages?
Simon Urbanek
simon.urbanek at r-project.org
Thu May 19 21:08:33 CEST 2011
If you simply want to re-install the same packages you had, it's as simple as
install.packages(row.names(installed.packages("~/Library/R/2.12/library")))
Cheers,
Simon
On May 19, 2011, at 2:58 PM, Kasper Daniel Hansen wrote:
> You can have packages two places
> (1) system wide
> (2) user specific
> The packages that ship with R always install system wide which is why
> - when you look in your user specific packages - you don't see any.
>
> You need to reinstall the packages for 2.13. You cannot just copy the
> directories. You can use the directory to figure out which packages
> you did install.
>
> Kasper
>
> On Thu, May 19, 2011 at 2:48 PM, Wayne Gray <grayw at rpi.edu> 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.
>>
>> 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.
>>
>> 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.
>>
>> Thanks
>>
>>
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
More information about the R-SIG-Mac
mailing list