[R] Windows: updating to R 1.2.2

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Mar 7 08:29:58 CET 2001


On Wed, 7 Mar 2001, Murray Jorgensen wrote:

> Forgive me, but while I find the documentation for initially installing R
> to be clear, I'm not so happy about updating.
>
> I want to update from R 1.2.1 to R 1.2.2 (mainly so I can get the debugged
> version of pictex() ).
>
> Now I have downloaded the base zip files, say to Z:\Program Files and my
> existing installation of R 1.2.1 is sitting in
> Z:\Program Files\rw1021.
>
> Running rwinst.exe I need to nominate an Install directory. I can nominate
> a new directory Z:\Program Files\rw1022, but then I will not be able to
> access my packages already installed for R 1.2.1.
>
> I can nominate Z:\Program Files\rw1021 to install over the top of the old
> version, but I am scared that this might stuff everything up, and I will
> have no working version of R.
>
> I am just looking for some reassurance that the second course of action is
> safe, or alternatively to be told the bad news that I must re-install all
> of my existing packages under the new version of R.

Two ways:
- set .lib.loc also to the library path of the "old" version of R, e.g.:
  .lib.loc <- c(.lib.loc, "c:/whateverdirectory/library")
- copy the libraries from the library-dir of the old version into the
library-dir of the new version

Suggestion:
For additionally libraries make an independent directory, say "c:/program
files/R-libs" for example. Install all new libraries into this directory
and set .lib.loc as needed. So updating R is not so much work in the
future.


Uwe Ligges

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list