错误:包‘;的编译失败;Rcpp&x2019;

错误:包‘;的编译失败;Rcpp&x2019;,r,rstudio,R,Rstudio,当我尝试安装plyr软件包时,我遇到了以下错误,我尝试了其他线程中建议的一些解决方案,但它们似乎不起作用。我最近在服务器上升级了R和R studio的版本 > install.packages("plyr") Installing package into ‘/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15’ (as ‘lib’ is unspecified) also installing the dependency ‘Rcpp’

当我尝试安装plyr软件包时,我遇到了以下错误,我尝试了其他线程中建议的一些解决方案,但它们似乎不起作用。我最近在服务器上升级了R和R studio的版本

> install.packages("plyr")
Installing package into ‘/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15’
(as ‘lib’ is unspecified)
also installing the dependency ‘Rcpp’

trying URL 'http://cran.rstudio.com/src/contrib/Rcpp_0.11.2.tar.gz'
Content type 'application/x-gzip' length 2004313 bytes (1.9 Mb)
opened URL
==================================================
downloaded 1.9 Mb

trying URL 'http://cran.rstudio.com/src/contrib/plyr_1.8.1.tar.gz'
Content type 'application/x-gzip' length 393233 bytes (384 Kb)
opened URL
==================================================
downloaded 384 Kb

* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** libs
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -c Date.cpp -o Date.o
../inst/include/Rcpp/Date.h: In member function ‘void Rcpp::Date::update_tm()’:
../inst/include/Rcpp/Date.h:108: warning: converting to ‘time_t’ from ‘double’
../inst/include/Rcpp/Date.h: In function ‘Rcpp::Date Rcpp::operator+(const Rcpp::Date&, int)’:
../inst/include/Rcpp/Date.h:139: warning: converting to ‘time_t’ from ‘double’
Date.cpp: In function ‘double Rcpp::mktime00(tm&)’:
Date.cpp:57: warning: converting to ‘int’ from ‘double’
Date.cpp:60: warning: converting to ‘int’ from ‘double’
Date.cpp: In function ‘tm* Rcpp::timesub(const time_t*, long int, const Rcpp::state*, tm*)’:
Date.cpp:1196: warning: converting to ‘long int’ from ‘double’
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -c Module.cpp -o Module.o
../inst/include/Rcpp/Date.h: In member function ‘void Rcpp::Date::update_tm()’:
../inst/include/Rcpp/Date.h:108: warning: converting to ‘time_t’ from ‘double’
../inst/include/Rcpp/Date.h: In function ‘Rcpp::Date Rcpp::operator+(const Rcpp::Date&, int)’:
../inst/include/Rcpp/Date.h:139: warning: converting to ‘time_t’ from ‘double’
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -c Rcpp_init.cpp -o Rcpp_init.o
../inst/include/Rcpp/Date.h: In member function ‘void Rcpp::Date::update_tm()’:
../inst/include/Rcpp/Date.h:108: warning: converting to ‘time_t’ from ‘double’
../inst/include/Rcpp/Date.h: In function ‘Rcpp::Date Rcpp::operator+(const Rcpp::Date&, int)’:
../inst/include/Rcpp/Date.h:139: warning: converting to ‘time_t’ from ‘double’
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -c api.cpp -o api.o
../inst/include/Rcpp/Date.h: In member function ‘void Rcpp::Date::update_tm()’:
../inst/include/Rcpp/Date.h:108: warning: converting to ‘time_t’ from ‘double’
../inst/include/Rcpp/Date.h: In function ‘Rcpp::Date Rcpp::operator+(const Rcpp::Date&, int)’:
../inst/include/Rcpp/Date.h:139: warning: converting to ‘time_t’ from ‘double’
g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -c attributes.cpp -o attributes.o
../inst/include/Rcpp/Date.h: In member function ‘void Rcpp::Date::update_tm()’:
../inst/include/Rcpp/Date.h:108: warning: converting to ‘time_t’ from ‘double’
../inst/include/Rcpp/Date.h: In function ‘Rcpp::Date Rcpp::operator+(const Rcpp::Date&, int)’:
../inst/include/Rcpp/Date.h:139: warning: converting to ‘time_t’ from ‘double’
{standard input}: Assembler messages:
{standard input}:87953: Warning: end of file not at end of a line; newline inserted
{standard input}:89432: Error: undefined symbol `.LLSDATT10675' in operation
{standard input}:89435: Error: undefined symbol `.LLSDACSE10675' in operation
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [attributes.o] Error 1
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15/Rcpp’
Warning in install.packages :
  installation of package ‘Rcpp’ had non-zero exit status
ERROR: dependency ‘Rcpp’ is not available for package ‘plyr’
* removing ‘/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15/plyr’
Warning in install.packages :
  installation of package ‘plyr’ had non-zero exit status


> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] codetools_0.2-9 RMySQL_0.9-3    DBI_0.3.0      

loaded via a namespace (and not attached):
[1] tools_3.1.0
>安装程序包(“plyr”)
将软件包安装到“/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15”中
(由于“lib”未指定)
同时安装依赖项“Rcpp”
正在尝试URL'http://cran.rstudio.com/src/contrib/Rcpp_0.11.2.tar.gz'
内容类型“应用程序/x-gzip”长度为2004313字节(1.9 Mb)
打开的URL
==================================================
下载1.9 Mb
正在尝试URL'http://cran.rstudio.com/src/contrib/plyr_1.8.1.tar.gz'
内容类型“应用程序/x-gzip”长度为393233字节(384 Kb)
打开的URL
==================================================
下载384KB
*正在安装*source*包“Rcpp”。。。
**包“Rcpp”已成功解包并检查MD5金额
**自由基
g++-m64-I/usr/include/R-DNDEBUG-I../inst/include/-I/usr/local/include-fpic-O2-g-pipe-Wall-Wp-D_-FORTIFY_SOURCE=2-feexceptions-fstack-protector-param=ssp buffer size=4-m64-mtune=generic-Date.cpp-o Date.o
../inst/include/Rcpp/Date.h:在成员函数“void Rcpp::Date::update_tm()”中:
../inst/include/Rcpp/Date.h:108:警告:从“双精度”转换为“时间”
../inst/include/Rcpp/Date.h:在函数“Rcpp::Date Rcpp::operator+(const Rcpp::Date&,int)”中:
../inst/include/Rcpp/Date.h:139:警告:从“双精度”转换为“时间”
Date.cpp:在函数“double Rcpp::mktime00(tm&)”中:
日期.cpp:57:警告:从“双精度”转换为“整数”
Date.cpp:60:警告:从“double”转换为“int”
Date.cpp:在函数“tm*Rcpp::timesub(常量time\u t*,long int,常量Rcpp::state*,tm*)”中:
日期.cpp:1196:警告:从“双精度”转换为“长整数”
g++-m64-I/usr/include/R-DNDEBUG-I../inst/include/-I/usr/local/include-fpic-O2-g-pipe-Wall-Wp-D_-FORTIFY_SOURCE=2-feexceptions-fstack-protector-param=ssp buffer size=4-m64-mtune=generic Module.cpp-o Module.o
../inst/include/Rcpp/Date.h:在成员函数“void Rcpp::Date::update_tm()”中:
../inst/include/Rcpp/Date.h:108:警告:从“双精度”转换为“时间”
../inst/include/Rcpp/Date.h:在函数“Rcpp::Date Rcpp::operator+(const Rcpp::Date&,int)”中:
../inst/include/Rcpp/Date.h:139:警告:从“双精度”转换为“时间”
g++-m64-I/usr/include/R-DNDEBUG-I../inst/include/-I/usr/local/include-fpic-O2-g-pipe-Wall-Wp-D_-FORTIFY_SOURCE=2-feexceptions-fstack-protector-param=ssp buffer size=4-m64-mtune=generic-Rcpp_init.cpp-o Rcpp_init.o
../inst/include/Rcpp/Date.h:在成员函数“void Rcpp::Date::update_tm()”中:
../inst/include/Rcpp/Date.h:108:警告:从“双精度”转换为“时间”
../inst/include/Rcpp/Date.h:在函数“Rcpp::Date Rcpp::operator+(const Rcpp::Date&,int)”中:
../inst/include/Rcpp/Date.h:139:警告:从“双精度”转换为“时间”
g++-m64-I/usr/include/R-DNDEBUG-I../inst/include/-I/usr/local/include-fpic-O2-g-pipe-Wall-Wp-D_-FORTIFY_SOURCE=2-feexceptions-fstack-protector-param=ssp buffer size=4-m64-mtune=generic-api.cpp-o api.o
../inst/include/Rcpp/Date.h:在成员函数“void Rcpp::Date::update_tm()”中:
../inst/include/Rcpp/Date.h:108:警告:从“双精度”转换为“时间”
../inst/include/Rcpp/Date.h:在函数“Rcpp::Date Rcpp::operator+(const Rcpp::Date&,int)”中:
../inst/include/Rcpp/Date.h:139:警告:从“双精度”转换为“时间”
g++-m64-I/usr/include/R-DNDEBUG-I../inst/include/-I/usr/local/include-fpic-O2-g-pipe-Wall-Wp-D_-FORTIFY_SOURCE=2-feexceptions-fstack-protector-param=ssp buffer size=4-m64-mtune=generic attributes.cpp-o attributes.o
../inst/include/Rcpp/Date.h:在成员函数“void Rcpp::Date::update_tm()”中:
../inst/include/Rcpp/Date.h:108:警告:从“双精度”转换为“时间”
../inst/include/Rcpp/Date.h:在函数“Rcpp::Date Rcpp::operator+(const Rcpp::Date&,int)”中:
../inst/include/Rcpp/Date.h:139:警告:从“双精度”转换为“时间”
{标准输入}:汇编程序消息:
{标准输入}:87953:警告:文件结尾不在行的末尾;换行符插入
{标准输入}:89432:错误:操作中未定义符号“.LLSDATT10675”
{标准输入}:89435:错误:操作中未定义符号“.LLSDACSE10675”
g++:内部错误:已终止(程序cc1plus)
请提交完整的错误报告。
有关说明,请参阅。
make:**[attributes.o]错误1
错误:包“Rcpp”的编译失败
*删除“/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15/Rcpp”
install.packages中的警告:
包“Rcpp”的安装具有非零退出状态
错误:依赖项“Rcpp”不可用于包“plyr”
*删除“/home/arsvis5/R/x86_64-redhat-linux-gnu-library/2.15/plyr”
install.packages中的警告:
包“plyr”的安装具有非零退出状态
>sessionInfo()
R版本3.1.0(2014-04-10)
平台:x86_64-redhat-linux-gnu(64位)
区域设置:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC\u PAPER=en\u US.UTF-8 LC\u NAME=C LC\u ADDRESS=C
[10] LC_电话=C LC_测量=en_US.UTF-8 LC_识别=C
附加基本包:
[1] 统计图形GRUTILS数据集方法库
其他随附包裹:
[1] codetools_0.2-9 RMySQL_0.9-3 DBI_0.3.0
通过命名空间加载(未附加):
[1] 工具3.1.0

在升级我的服务器上的RAM后,问题得到解决,由于内存不足,软件包未安装