Hi, My R version is old, and I would like to update it. How can I update R and keep all the libraries? Thanks Best, Yunfei Li -------------------------------------------------------------------------------------- Research Assistant Department of Statistics & School of Molecular Biosciences Biotechnology Life Sciences Building 427 Washington State University Pullman, WA 99164-7520 Phone: 509-339-5096 http://www.wsu.edu/~ye_lab/people.html [[alternative HTML version deleted]]
This question has been asked by many people already. The easiest way is: 1) install the new version 2) copy all or the libraries that you installed later from the "library" folder of older version to the new version 3) uninstall the old version 4) do a library update in the new version Done! ...Tao ________________________________ From: "Li, Yunfei" <yunfei_li@wsu.edu> To: r-help@r-project.org Sent: Thu, March 31, 2011 10:16:23 AM Subject: [R] How to update R? Hi, My R version is old, and I would like to update it. How can I update R and keep all the libraries? Thanks Best, Yunfei Li -------------------------------------------------------------------------------------- Research Assistant Department of Statistics & School of Molecular Biosciences Biotechnology Life Sciences Building 427 Washington State University Pullman, WA 99164-7520 Phone: 509-339-5096 http://www.wsu.edu/~ye_lab/people.html [[alternative HTML version deleted]] ______________________________________________ R-help@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. [[alternative HTML version deleted]]
Hi Yunfei, It really depends to some extent on the version of R (and your OS) you were using. Here is a link to a blog post that discusses some potential strategies: http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/ There are also a number of messages if you search the R-help archive. However, old version of libraries may not be portable to the most recent R, so you may need to update R and update all your libraries too. Cheers, Josh On Thu, Mar 31, 2011 at 10:16 AM, Li, Yunfei <yunfei_li at wsu.edu> wrote:> Hi, > > My R version is old, and I would like to update it. How can I update R and keep all the libraries? Thanks > > Best, > > Yunfei Li > -------------------------------------------------------------------------------------- > Research Assistant > Department of Statistics & > School of Molecular Biosciences > Biotechnology Life Sciences Building 427 > Washington State University > Pullman, WA 99164-7520 > Phone: 509-339-5096 > http://www.wsu.edu/~ye_lab/people.html > > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > 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. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/