[R] [?] update.packages() - Linux

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Mar 7 16:10:04 CET 2001


> Date: Wed, 7 Mar 2001 09:56:17 -0300 (EST)
> From: Francisco Cribari <cribari at de.ufpe.br>
> To: r-help at stat.math.ethz.ch
> Subject: [R] [?] update.packages() - Linux
> 
> I am running R 1.2.1 under Mandrake Linux 7.2 (installed from RPM)
> and I installed a few packages using install.packages() . Now, I 
> am trying to upgrade these packages using update.packages() but I 
> believe I am running into some kind of error. See below. Any tips
> will be greatly welcome. Thanks in advance. Francisco 

Mike Meyer solved this on 24 Jan:

   Date: Wed, 24 Jan 2001 13:48:53 -0800
   From: "Michael M. Meyer" <mikem at 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/R
   
   A "quick" fix is to cp /usr/bin/R to /usr/lib/R/bin/R


Follow the thread in the R-help archives if you want to know more.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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