[R] update MASS

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Oct 1 12:12:53 CEST 2005


On Sat, 1 Oct 2005, Ramón Casero Cañas wrote:

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

First, MASS is part of VR, so it is VR you update.

Second, please do *READ THE HELP PAGE*.  The first argument of 
update.packages() is not a package name.

Third, check the CRAN information, here at

 	http://cran.r-project.org/src/contrib/Descriptions/VR.html

and note

Depends:	R (>= 2.1.0), graphics, stats
                       ^^^^^

and no VR update is currently available for your version of R.

Your R is seriously only of date.  You might want to wait a week and then 
install 2.2.0.


> 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
> avail.
>
> <QUOTE>
>> 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
> </QUOTE>
>
>
> I have the package installed in /usr/lib/R/library/MASS. I can do
>
> <QUOTE>
>> 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"
> </QUOTE>
>
>
> How could I update the package?
>
> Thanks,
>
> -- 
> Ramón Casero Cañas
>
> web:    http://www.robots.ox.ac.uk/~rcasero/
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list