Re: [R-SIG-Mac] Where are my packages?
On May 19, 2011, at 3:11 PM, 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/ > > >> 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) > That works (and is designed to work) on the system level, it doesn't look into your user-level packages. Cheers, Simon ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Where are my packages?
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/ > 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@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Where are my packages?
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 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@r-project.org >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> >> > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Where are my packages?
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 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@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Where are my packages?
On Thu, May 19, 2011 at 2:48 PM, 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. > > 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. > > Hi, Wayne. It is not prudent to move things from 2.12 to 2.13 Library, as these packages are built against a different version of R. The packages that come with R are stored in the system default library location. You can use ".Library" to see where the system library is, if I recall. You do not need to move those into your ~/Library/R... location; R will find things in both places. Sean [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] forgot to say
I forgot to add that I am getting these warning messages from R now: Warning messages: 1: In library() : library ‘/Users/wgray/Library/R/2.13/library’ contains no packages 2: In library() : library ‘/Users/wgray/Library/R/2.13/library’ contains no packages ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac