[R] How to skip re-installing CRAN packages when updating R?

From: Sean Zhang <seanecon_at_gmail.com>
Date: Wed, 24 Dec 2008 12:28:39 -0500


Dear R-helpers:

I am new to R and would like to seek your expert opinion on installation tip. Many thanks in advance.
I want to update my R to the newest version and wonder the following two questions:

Question 1:
How can I install R and its contributed packages in a way so when updating R
in the future, I do NOT need to
re-install contributed packages used by R of last version.

Question 2:
Is it an ok-practice to just install all the CRAN packages (i.e., install.packages(available.packages()[,1]) ). Does someone do so? The reason I ask the second question is that if installing all available packages does Not consume too much time (say less than 2 hours), too much computer resource (I have big harddrive, so harddrive is probably not a concern. I guess computing speed will not be affected but not sure...) then, I do not need to bother Question 1 and will just install all available packages when updating R.

Many Thanks in advance.

Merry Christmas!

-Sean

        [[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. Received on Thu 25 Dec 2008 - 02:32:41 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 Thu 25 Dec 2008 - 17:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive