Re: [R] how to update R version

From: Kevin E. Thorpe <>
Date: Wed, 06 Jun 2007 13:37:05 -0400

Yanqin Yang wrote:
> Hello,
> I am new in using Linux R. Would someone tell me what the best way to
> update my current R 2.3.0 to R 2.5.0? I want to keep my current
> library packages. Do I have to erase the older version and install
> the newer version? In that case, I need to re-download all the
> packages I need. Any short way to do the update?
> Thanks for your help!
> yanqin

Since I compile from source, I simply compile the new version and install it to the same location as the old. Then I run update.packages() to update the additional packages I have installed. Of course, I may get bit by this approach one day.

It is possible to have more than one directory for packages. One suggestion I've seen is to collect your "user installed" packages in a different directory than the base and recommended packages.

Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Department of Public Health Sciences
Faculty of Medicine, University of Toronto
email:  Tel: 416.864.5776  Fax: 416.864.6057

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 06 Jun 2007 - 17:42:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 06 Jun 2007 - 18:31:43 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.