[R] weird install package error

Yuan Luo yuan.hypnos.luo at gmail.com
Thu Sep 11 22:42:46 CEST 2014


I am getting an error installing the MASS package. Googling suggests
restarting R, but it didn't help. Anyone has a clue?

Many thanks,

> 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
Warning message:
In install.packages("MASS") :
  installation of package ‘MASS’ had non-zero exit status

	[[alternative HTML version deleted]]

More information about the R-help mailing list