[R] How to update without new installation?

Jonathan Baron baron at cattell.psych.upenn.edu
Thu Nov 21 01:29:59 CET 2002

On 11/20/02 18:36, TyagiAnupam at aol.com wrote:
>How do I update to a new version of R on Linux without going
through a new installation?

Most kinds of Linux use some sort of binary package like rpm.
Several of those are available on CRAN, specifially

If you can do that, "going through" sounds harsh.  You download
the rpm file and give one command, such as rpm -Uvh r-base...rpm
and you are done.  If you have some version of Linux other than
Debian, Mandrake, RedHat, or Suse, then you need to compile R
from the source, as you would do on Unix.

>How do I update packages?

Start R as root and type
See the help about update.packages for the various options.

Jonathan Baron, Professor of Psychology, University of Pennsylvania
R page:               http://finzi.psych.upenn.edu/

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