Bob Green
2008-Mar-05 14:07 UTC
[R] Updating packages from one hard-drive to another, after upgrade of R
The CPU on my computer 'died' and I have had to purchase a new computer. I have just installed v 2.6.2. My previous computer had v 2.5.1 and a large number of files in the library folder. These files have been copied to a partition on my new hard drive, along with the old R installation. Can I just copy all the folders/files in the old library to the new v2.6.2 library or do the packages need to be downloaded again? There are quite a number of folders so it would be time-consuming to have to do a fresh download. Any assistance is appreciated, Bob
ONKELINX, Thierry
2008-Mar-05 14:32 UTC
[R] Updating packages from one hard-drive to another, after upgrade of R
Bob, You can copy the files from the packages to your new computer. Then run update.packages(checkBuilt = TRUE). That should do. HTH, Thierry ------------------------------------------------------------------------ ---- ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest Cel biometrie, methodologie en kwaliteitszorg / Section biometrics, methodology and quality assurance Gaverstraat 4 9500 Geraardsbergen Belgium tel. + 32 54/436 185 Thierry.Onkelinx op inbo.be www.inbo.be Do not put your faith in what statistics say until you have carefully considered what they do not say. ~William W. Watt A statistical analysis, properly conducted, is a delicate dissection of uncertainties, a surgery of suppositions. ~M.J.Moroney -----Oorspronkelijk bericht----- Van: r-help-bounces op r-project.org [mailto:r-help-bounces op r-project.org] Namens Bob Green Verzonden: woensdag 5 maart 2008 15:07 Aan: r-help op r-project.org Onderwerp: [R] Updating packages from one hard-drive to another,after upgrade of R The CPU on my computer 'died' and I have had to purchase a new computer. I have just installed v 2.6.2. My previous computer had v 2.5.1 and a large number of files in the library folder. These files have been copied to a partition on my new hard drive, along with the old R installation. Can I just copy all the folders/files in the old library to the new v2.6.2 library or do the packages need to be downloaded again? There are quite a number of folders so it would be time-consuming to have to do a fresh download. Any assistance is appreciated, Bob ______________________________________________ R-help op r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Gabor Grothendieck
2008-Mar-05 14:34 UTC
[R] Updating packages from one hard-drive to another, after upgrade of R
See ?.libPaths for info on setting the location of your libraries. If you do want to copy them the copydir.bat utility in batchfiles.googlecode.com can do that. On Wed, Mar 5, 2008 at 9:07 AM, Bob Green <bgreen at dyson.brisnet.org.au> wrote:> > The CPU on my computer 'died' and I have had to purchase a new > computer. I have just installed v 2.6.2. My previous computer had v > 2.5.1 and a large number of files in the library folder. These files > have been copied to a partition on my new hard drive, along with the > old R installation. > > Can I just copy all the folders/files in the old library to the new > v2.6.2 library or do the packages need to be downloaded again? There > are quite a number of folders so it would be time-consuming to have > to do a fresh download. > > Any assistance is appreciated, > > Bob > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >