[R] MASS loading error
Uwe Ligges
ligges at statistik.tu-dortmund.de
Sun Nov 22 15:55:20 CET 2009
Erin Hodgess wrote:
> Dear R People:
>
> I just installed R-2.10.0 on Karmic Koala Ubuntu, via the sudo apt-get
> install r-base, etc.
>
> However, when I try to install an Rcmdr Plugin package, I get the following:
>
>> install.packages("RcmdrPlugin.qual",depen=TRUE)
> Warning in install.packages("RcmdrPlugin.qual", depen = TRUE) :
> argument 'lib' is missing: using '/usr/local/lib/R/site-library'
> Warning in install.packages("RcmdrPlugin.qual", depen = TRUE) :
> 'lib = "/usr/local/lib/R/site-library"' is not writable
> Would you like to create a personal library
> '~/R/i486-pc-linux-gnu-library/2.10'
> to install packages into? (y/n) y
> --- Please select a CRAN mirror for use in this session ---
> Loading Tcl/Tk interface ... done
> also installing the dependency ‘qcc’
>
> trying URL 'http://cran.opensourceresources.org/src/contrib/qcc_2.0.tar.gz'
> Content type 'application/x-gzip' length 163556 bytes (159 Kb)
> opened URL
> ==================================================
> downloaded 159 Kb
>
> trying URL 'http://cran.opensourceresources.org/src/contrib/RcmdrPlugin.qual_0.4.0.tar.gz'
> Content type 'application/x-gzip' length 3545 bytes
> opened URL
> ==================================================
> downloaded 3545 bytes
>
> * installing *source* package ‘qcc’ ...
> ** R
> ** data
> ** demo
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> * DONE (qcc)
> * installing *source* package ‘RcmdrPlugin.qual’ ...
> ** R
> ** inst
> ** preparing package for lazy loading
> Warning: package 'Rcmdr' was built under R version 2.8.1 and help may
> not work correctly
> Loading required package: tcltk
> Loading Tcl/Tk interface ... done
> The Commander GUI is launched only in interactive sessions
>
> Attaching package: 'Rcmdr'
>
>
> The following object(s) are masked from package:tcltk :
>
> tclvalue
>
> Warning: package 'rgl' was built under R version 2.8.1 and help may
> not work correctly
> Warning: package 'abind' was built under R version 2.8.1 and help may
> not work correctly
> Error : This is R 2.10.0, package 'MASS' needs <= 2.9.2
> ERROR: lazy loading failed for package ‘RcmdrPlugin.qual’
> * removing ‘/home/erin/R/i486-pc-linux-gnu-library/2.10/RcmdrPlugin.qual’
>
> The downloaded packages are in
> ‘/tmp/RtmpioC2DR/downloaded_packages’
> Warning message:
> In install.packages("RcmdrPlugin.qual", depen = TRUE) :
> installation of package 'RcmdrPlugin.qual' had non-zero exit status
>
> The line that looks particularly strange is the 'MASS needs <= 2.9.2.
Erin,
the MASS you have installed in one of your current libraries needs R <=
2.9.2 (perhaps in /usr/local/lib/R/site-library ?)
Please run
update.packages(checkBuilt=TRUE)
and packages in your library will be updated.
If the one in /usr/local/lib/R/site-library can't be updated, because
you do not have write permissions there, please remove it from the
library path.
Best,
Uwe Ligges
> Could that be the problem, please?
>
> Thank you in advance for any help.
>
> Sincerely,
> Erin
>
>
More information about the R-help
mailing list