Re: [R] help with updating to R2.7

From: ravi <>
Date: Thu, 08 May 2008 12:30:39 +0000 (GMT)

There is a lot of information at the link shown below. But it is not easy to know where to look. Also, not easy to interpret correctly the directions. I followed the following two methods, both of which failed for me. (1) I first installed R2.7. I then followed the directions in, "What's the best way to upgrade ?" in "R for Windows FAQ". I copied the library folder from R2.6 into the R2.7 folder. I then tried to run the following command : update.packages(checkBuilt=TRUE, ask=FALSE) I don't remember the exact error message now, but it did not work. In the instructions, it is stated that one should transfer the installed packages to the library folder. Does this mean that I can just retain the R.css file in the R2.7 library folder and then fill it up with the old package folders from R2.6? Any specific and detailed suugestions are welcome here. (2) I then tried the following method :
#---run in previous version
packages <- installed.packages()[,"Package"] save(packages, file="Rpackages")
#---run in new version
for (p in setdiff(packages, installed.packages()[,"Package"])) install.packages(p)
I copied the Rpackages file from R2.6 into R2.7 folder. But this did not work either. I know that it would be best if I reproduced the exact error messages, but I have tried so many different things now and have lost track of the exact error messages at each stage. Looking for help,
Thanking you,

There are a few different methods discussed in the README to the batchfiles distribution.  Home page at:

On Wed, May 7, 2008 at 12:51 PM, ravi <> wrote:
> Hi,
> >From R 2.6, I would like to update to R2.7. I would like to have some tips on the recommended method of installing the latest versions of an entire list of packages in R2.7 - i.e. all the packages that I have presently installed in R2.6.
> I am hoping that there is an easier method than fetching the packages individually as I did, to begin with, for R2.6.
> Additionally, I would like to install R2.7 on another pc which is not connected to the internet. I have previously installed R2.6 on it by fetching the zip files from another pc and installed them from the local zip files. I would like to know if there is a method of transferring an entire installation (base+selected packages) from one pc to another. Will there be a special problem if the first is a win vista pc and the 2nd has win 2000?
> One problem that I have in continuing to use R2.6 is in getting compatible versions of a new package that happens to attract my interest. For example, I was interested in getting the arm package for R2.6.1. I could not find the package in the "R Binaries" list on CRAN webpage. In the packages list, I did find old versions in the "arm archive". However, the files were in ".....tar.gz" format. How does one install from this format? It does not appear to be as straightforward as in installing from the zip format files.Recently, I had the same problem in installing a compatible version of the "norm" package also. I am interested to know how I can tackle these problems.
> I will appreciate all the help that I can get.
> Thanks,
> Ravi
> ______________________________________________
> mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 08 May 2008 - 12:55:32 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 08 May 2008 - 13:30:35 GMT.

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

list of date sections of archive