[R] update MASS
Kjetil Holuerson
kjetil at redcotel.bo
Sat Oct 1 02:52:20 CEST 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.
>
My installed version of MASS, 7-2.20, has version requirement R>= 2.1.0,
so you will need to update R first.
Kjetil
> 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,
>
--
More information about the R-help
mailing list