[R] weird install package error

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Sep 13 19:39:18 CEST 2014



On 11.09.2014 22:42, Yuan Luo wrote:
> Hi,
>
> I am getting an error installing the MASS package. Googling suggests
> restarting R, but it didn't help. Anyone has a clue?

Recompile R. Looks like you mkl enabled (?) build of R is broken.

Best,
Uwe Ligges



>
> Many thanks,
> Yuan
>
>
>> install.packages("MASS")
> Installing package into ‘/PHShome/yl960/R/3.0’
> (as ‘lib’ is unspecified)
> trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/MASS_7.3-34.tar.gz'
> Content type 'application/x-gzip' length 486552 bytes (475 Kb)
> opened URL
> ==================================================
> downloaded 475 Kb
>
> * installing *source* package ‘MASS’ ...
> ** package ‘MASS’ successfully unpacked and MD5 sums checked
> ** libs
> gcc -std=gnu99 -I/source/R-3.0.2-mkl/lib64/R/include -DNDEBUG
>   -I/usr/local/include    -fpic  -g -O2  -c MASS.c -o MASS.o
> gcc -std=gnu99 -I/source/R-3.0.2-mkl/lib64/R/include -DNDEBUG
>   -I/usr/local/include    -fpic  -g -O2  -c lqs.c -o lqs.o
> gcc -std=gnu99 -shared -L/usr/local/lib64 -o MASS.so MASS.o lqs.o
> -L/source/R-3.0.2-mkl/lib64/R/lib -lR
> installing to /PHShome/yl960/R/3.0/MASS/libs
> ** R
> ** data
> *** moving datasets to lazyload DB
> ** inst
> ** byte-compile and prepare package for lazy loading
> Warning in get(hookname, envir = env, inherits = FALSE) :
>    internal error -3 in R_decompress1
> Error in get(hookname, envir = env, inherits = FALSE) :
>    lazy-load database 'P' is corrupt
> * removing ‘/PHShome/yl960/R/3.0/MASS’
>
> The downloaded source packages are in
> ‘/tmp/RtmpJpFCbC/downloaded_packages’
> Warning message:
> In install.packages("MASS") :
>    installation of package ‘MASS’ had non-zero exit status
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list