A quick question. I am trying to understand how I could move the installed packages in my R 2.3 version to the newly installed R 2.5 version, without having to install all the packages again. I copied the files under the old library subdirectory to the new library subdirectory. But still the newer version is not recognizing the packages that were copied over. Thanks. [[alternative HTML version deleted]]
try RSiteSearch("update packages") and RSiteSearch("update packages") and you will find threads like these: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/41295.html http://finzi.psych.upenn.edu/R/Rhelp02a/archive/8051.html And following the posting guide [see below] is good advice. On Sat, 2 Jun 2007, Raghu Naik wrote:> A quick question. I am trying to understand how I could move the installed > packages in my R 2.3 version to the newly installed R 2.5 version, without > having to install all the packages again. I copied the files under the old > library subdirectory to the new library subdirectory. But still the newer > version is not recognizing the packages that were copied over. > > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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. >Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:cberry at tajo.ucsd.edu UC San Diego http://biostat.ucsd.edu/~cberry/ La Jolla, San Diego 92093-0901
Is R not loading the packages at all (like they were never installed), or perhaps it is complaining that they were build on the older version of R? You have to be more specific here about what happens etc. For now try running update.packages and see if it fixes the problem. I would also suggest keeping all the additional packages (beyond R base installation) in the separate library tree -- less work every time you update R. See ?library and ?.libPaths hth, Michal : :: ::: Note that my e-mail address has changed to m.j.bojanowski at uu dot nl ::: Please update you address books accordingly. Thank you! :: : ____________________________________ Michal Bojanowski ICS / Department of Sociology Utrecht University Heidelberglaan 2; 3584 CS Utrecht Room 1428 m.j.bojanowski at uu dot nl http://www.fss.uu.nl/soc/bojanowski/ -----Wiadomo¶æ oryginalna----- Od: r-help-bounces@stat.math.ethz.ch w imieniu Raghu Naik Wys³ano: So 2007-06-02 23:13 Do: r-help@stat.math.ethz.ch Temat: [R] Updating R version A quick question. I am trying to understand how I could move the installed packages in my R 2.3 version to the newly installed R 2.5 version, without having to install all the packages again. I copied the files under the old library subdirectory to the new library subdirectory. But still the newer version is not recognizing the packages that were copied over. Thanks. [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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. [[alternative HTML version deleted]]
Bojanowski, M.J. (Michal) wrote:> Is R not loading the packages at all (like they were never installed), or perhaps it is complaining that they were build on the older version of R? You have to be more specific here about what happens etc. > > For now try running update.packages and see if it fixes the problem.Or more precisely, try update.packages(checkBuilt = TRUE) In any case, telling what you did and what the error message was would be much helpful in order to help. Uwe Ligges> I would also suggest keeping all the additional packages (beyond R base installation) in the separate library tree -- less work every time you update R. See ?library and ?.libPaths > > > hth, > > Michal > > : > :: > ::: Note that my e-mail address has changed to m.j.bojanowski at uu dot nl > ::: Please update you address books accordingly. Thank you! > :: > : > > > ____________________________________ > Michal Bojanowski > ICS / Department of Sociology > Utrecht University > Heidelberglaan 2; 3584 CS Utrecht > Room 1428 > m.j.bojanowski at uu dot nl > http://www.fss.uu.nl/soc/bojanowski/ > > > > -----Wiadomo?? oryginalna----- > Od: r-help-bounces at stat.math.ethz.ch w imieniu Raghu Naik > Wys?ano: So 2007-06-02 23:13 > Do: r-help at stat.math.ethz.ch > Temat: [R] Updating R version > > A quick question. I am trying to understand how I could move the installed > packages in my R 2.3 version to the newly installed R 2.5 version, without > having to install all the packages again. I copied the files under the old > library subdirectory to the new library subdirectory. But still the newer > version is not recognizing the packages that were copied over. > > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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. > > > [[alternative HTML version deleted]] > > > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help at stat.math.ethz.ch 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.