[R] smoothest way to upgrade R, say from 2.6.1 to 2.6.2?

From: Galkowski, Jan <jgalkows_at_akamai.com>
Date: Thu, 13 Mar 2008 13:05:15 -0400


Like many software assemblies, R is updated frequently. Also, it creates its own release-numbered directory when it is installed. Packages get dumped into the subdirectory "library". I have a personal habit of storing documents related to R packages in the "doc" subdirectory.

Here are my questions.

(1) How do people manage an upgrade, from 2.6.1, say, to 2.6.2? 2.6.2
will create its own subdirectory, obliging a copy of library contents to the new spot. The documents are easier.

(2) The problem with simply copying library contents is a fear of upward
incompatibilities. Am I worrying for naught here? Are packages upward
compatible but possibly not downwardly so?

(3) What about changing shortcuts, places for .Rprofile and the like?
Do people have scripts that do all these things at once?

It would be nice to have a single control file where R binaries and libraries and the like could be specified. That way, all that would need to be done is edit one file with an uptick on a point release number, say, and things would be fine. I suggest this because R is so rich and deep that there may well be such a thing I just don't know about. Or there may be a way of arranging things so they are done this way.

Ideas?

        [[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 13 Mar 2008 - 17:08:58 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 13 Mar 2008 - 17:30:21 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