> install.packages("RcppEigen")
Installing package into ‘/home/xie186/R/x86_64-redhat-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/RcppEigen_0.3.3.3.0.tar.gz'
Content type 'unknown' length 1634023 bytes (1.6 MB)
==================================================
downloaded 1.6 MB

* installing *source* package ‘RcppEigen’ ...
** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
** libs
g++ -m64 -I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/home/xie186/R/x86_64-redhat-linux-gnu-library/3.3/Rcpp/include"  -I../inst/include -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c RcppEigen.cpp -o RcppEigen.o
g++ -m64 -I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/home/xie186/R/x86_64-redhat-linux-gnu-library/3.3/Rcpp/include"  -I../inst/include -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c RcppExports.cpp -o RcppExports.o
g++ -m64 -I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/home/xie186/R/x86_64-redhat-linux-gnu-library/3.3/Rcpp/include"  -I../inst/include -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c fastLm.cpp -o fastLm.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [fastLm.o] Error 4
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/home/xie186/R/x86_64-redhat-linux-gnu-library/3.3/RcppEigen’
Warning in install.packages :
  installation of package ‘RcppEigen’ had non-zero exit status

The downloaded source packages are in
 ‘/tmp/Rtmp9JkATA/downloaded_packages’



=============================================================
I had the same problem ona  digital ocean $5 VPS. Couldn't compile a client to save my life. The fix was to do the following:

Code:
free dd if=/dev/zero of=/var/swap.img bs=1024k count=1000 mkswap /var/swap.img swapon /var/swap.img free make -f makefile.unix

If you already have /var/swap.img

You may encounter:

dd: failed to open ‘/var/swap.img’: Text file busy

Use swapoff -a  to delete the swap file. 

swapoff -a








Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR