Subject: Re: [R] update.packages() doesn't work anymore
From: Michael M. Meyer (mikem@salter-point.com)
Date: Thu 25 Jan 2001 - 07:48:53 EST
Message-Id: <200101242148.NAA14201@home.salter-point.com>
install.packages want to run
cmd <- paste(file.path(R.home(), "bin", "R")
(which on my system is /usr/lib/R/bin/R).
Unfortunately ( and this is R 1.2.1, installed from the rpm on CRAN)
that shell script has /var/tmp/R-base-root/usr/lib/R hard coded as the
R_Home.
Here is the diff between /usr/bin/R and /usrlib/R/bin/R.
->meyer<-:/usr/lib/R/bin> diff /usr/lib/R/bin/R /usr/bin/R
4c4
< R_HOME_DIR=/var/tmp/R-base-root/usr/lib/R
--- > R_HOME_DIR=/usr/lib/RA "quick" fix is to cp /usr/bin/R to /usr/lib/R/bin/R
--Mike
Mike Meyer, Salter Point Associates, Seattle WA
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:43 EST