R:install.package()未在CentOS 6.5上调用编译器

ETC。

R版本:3.1.1

我要安装此软件包我下载了源代码并将其放在主目录下。之后,我install.packages("~/rEDM/",repos=NULL,type="source")从源代码运行安装。我收到的错误消息是:

Installing package into ‘/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
* installing *source* package ‘rEDM’ ...
** libs
I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include"  -I../inst/include    -c RcppExports.cpp -o RcppExports.o
/bin/sh: I/usr/include/R: No such file or directory
make: [RcppExports.o] Error 127 (ignored)
I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include"  -I../inst/include    -c block_lnlp.cpp -o block_lnlp.o
/bin/sh: I/usr/include/R: No such file or directory
make: [block_lnlp.o] Error 127 (ignored)
I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include"  -I../inst/include    -c forecast_machine.cpp -o forecast_machine.o
/bin/sh: I/usr/include/R: No such file or directory
make: [forecast_machine.o] Error 127 (ignored)
I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include"  -I../inst/include    -c lnlp.cpp -o lnlp.o
/bin/sh: I/usr/include/R: No such file or directory
make: [lnlp.o] Error 127 (ignored)
I/usr/include/R -DNDEBUG  -I/usr/local/include -I"/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1/Rcpp/include"  -I../inst/include    -c xmap.cpp -o xmap.o
/bin/sh: I/usr/include/R: No such file or directory
make: [xmap.o] Error 127 (ignored)
-L/usr/local/lib64 -o rEDM.so RcppExports.o block_lnlp.o forecast_machine.o lnlp.o xmap.o -L/usr/lib64/R/lib -lR
/bin/sh: line 2: -L/usr/local/lib64: No such file or directory
make: *** [rEDM.so] Error 127
ERROR: compilation failed for package ‘rEDM’
* removing ‘/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1/rEDM’
Warning message:
In install.packages("~/rEDM/", repos = NULL, type = "source") :
  installation of package ‘/ghome/dwuab/rEDM/’ had non-zero exit status

这里有些错误,因为R根本没有调用编译器。该软件包的作者说这是由于R和/或GCC配置错误。

我的问题:有人知道问题出在哪里吗?或如何解决问题?

编辑1:使用命令通过zip文件安装软件包会install.packages("./master.zip",repos=NULL,type="source")导致以下错误消息:

Installing package into ‘/d1/dwuab/R/x86_64-redhat-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
Error in rawToChar(block[seq_len(ns)]) : 
  embedded nul in string: 'PK\003\004\n\0\0\0\0\0\x83h,H\0\0\0\0\0\0\0\0\0\0\0\0\f\0\t\0rEDM-master/UT\005\0\001Fj\x95VPK\003\004\n\0\0\0\b\0\x83h,H\x8ewq\xa1\030\0\0\0\034\0\0\0\031\0\t\0rEDM-master/.Rbuild'
Warning message:
In install.packages("./master.zip", repos = NULL, type = "source") :
  installation of package ‘./master.zip’ had non-zero exit status

编辑2:我没有在计算机上的root特权。

ETC。

解决方法是,我使用EasyBuild编译并安装带有GCC 4.9.3的R 3.2.1。整个编译和安装过程花了我几天的时间...现在可以正常工作。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Unable to install XML package in R on CentOS

来自分类Dev

Qt-编译器在我的MainWindow上调用setLayout()时抱怨

来自分类Dev

NSXMLParser解析器:parseErrorOccurred:未在iOS 7上调用

来自分类Dev

未在AppEngine上调用ServletFilter

来自分类Dev

ES6至ES5编译器

来自分类Dev

强制VB6编译器在调用.net com dll时使用早期绑定

来自分类Dev

XCode6 beta 6 Swift编译器错误

来自分类Dev

6To5编译器-使用__proto__进行继承

来自分类Dev

Unable to install cachem package for R

来自分类Dev

R中的字节编译器优化

来自分类Dev

如何在Visual Studio 2015 RC中为ASP.NET 5 MVC 6项目设置TypeScript编译器版本?

来自分类Dev

在centos 6中安装编译器gfortran

来自分类Dev

如何查找用于编译R的编译器

来自分类Dev

在ES6编译器中导入/导出

来自分类Dev

onCreateOptionsMenu()未在FragmentActivity上调用

来自分类Dev

Angular指令未在ES6上编译

来自分类Dev

允许打字稿编译器仅在一个反应状态属性上调用setState

来自分类Dev

Angular 2 RC6:cli编译器说“不支持函数调用”

来自分类Dev

未在AppEngine上调用ServletFilter

来自分类Dev

YUM未在CentOS 6上从EPEL安装某些软件包

来自分类Dev

xCode 6最终版本中的编译器错误

来自分类Dev

在实时CentOS 6服务器上调整LVM分区的大小

来自分类Dev

在KVM CentOS 6 VM上调整LVM的大小

来自分类Dev

CentOS 6 iptables NAT路由器

来自分类Dev

CentOS 6:配置:错误:编译器必须支持C清理处理

来自分类Dev

R中的字节编译器优化

来自分类Dev

iptables规则未在CentOS 6.x上重新加载

来自分类Dev

验证未在PATCH上调用

来自分类Dev

种子方法未在更新数据库、实体框架 6 上调用

Related 相关文章

热门标签

归档