在CentOS 7上的R 3.4.1中安装RSpectra

时间:2017-09-12 20:19:35

标签: r centos

我正在尝试在CentOS 7安装上安装R RSpectra软件包。我正在收到汇编程序的消息。

我试图安装RSpectra_0.12-0.tar.gz和RSpectra_0.11-0.tar.gz,结果相同。

任何帮助都将不胜感激。

# rpm --query centos-release
centos-release-7-3.1611.el7.centos.x86_64

# R
> R.Version()$version.string
[1] "R version 3.4.1 (2017-06-30)"
> install.packages("RSpectra")
Installing package into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
trying URL 'https://mirror.las.iastate.edu/CRAN/src/contrib/RSpectra_0.12-0.tar.gz'
Content type 'application/x-gzip' length 426762 bytes (416 KB)
==================================================
downloaded 416 KB

* installing *source* package ‘RSpectra’ ...
** package ‘RSpectra’ successfully unpacked and MD5 sums checked
** libs
g++ -m64  -I/usr/include/R -DNDEBUG -I../inst/include -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/RcppEigen/include" -I/usr/local/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 eigs_gen.cpp -o eigs_gen.o
{standard input}: Assembler messages:
{standard input}:284792: Warning: end of file not at end of a line; newline inserted
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: *** [eigs_gen.o] Error 4
ERROR: compilation failed for package ‘RSpectra’
* removing ‘/usr/lib64/R/library/RSpectra’

The downloaded source packages are in
    ‘/tmp/RtmpwyAGGH/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("RSpectra") :
  installation of package ‘RSpectra’ had non-zero exit status
> 

0 个答案:

没有答案
相关问题