[R] update MASS

Ramón Casero Cañas 8-T at gmx.net
Sat Oct 1 02:39:13 CEST 2005

I'd like to update MASS from version 7.2-11 to version 7-2.19. I am
running R 2.0.1 on ubuntu, that installs MASS with the package r-cran-vr.

I have tried doing update.packages(), and I get a list of packages that
I could update, but none is called MASS.

I have tried the following too, right after launching emacs, but to no

> update.packages("MASS")
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 65650 bytes
opened URL
downloaded 64Kb

Error in old.packages(lib.loc = lib.loc, contriburl = contriburl, method
= method,  :
	no installed.packages for (invalid?) lib.loc=MASS

I have the package installed in /usr/lib/R/library/MASS. I can do

> library(MASS)
> search()
 [1] ".GlobalEnv"        "package:MASS"      "package:methods"
 [4] "package:stats"     "package:graphics"  "package:grDevices"
 [7] "package:utils"     "package:datasets"  "Autoloads"
[10] "package:base"

How could I update the package?


Ramón Casero Cañas

web:    http://www.robots.ox.ac.uk/~rcasero/

More information about the R-help mailing list