[R] update.packages() doesn't work anymore

Michael M. Meyer mikem at salter-point.com
Wed Jan 24 22:48:53 CET 2001


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/R

A "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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list