无法为安装在linux redhat服务器上的R studio安装Devtools软件包

时间:2013-11-27 07:52:14

标签: linux r redhat rcurl devtools

我无法在redhat linux服务器上的R Studio中安装devtools包。出现这些错误消息:

ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/xx/R/x86_64-redhat-linux-gnu-library/3.0/RCurl’
Warning in install.packages :
  installation of package ‘RCurl’ had non-zero exit status

ERROR: dependency ‘RCurl’ is not available for package ‘httr’
* removing ‘/home/xx/R/x86_64-redhat-linux-gnu-library/3.0/httr’
Warning in install.packages :
  installation of package ‘httr’ had non-zero exit status

ERROR: dependencies ‘httr’, ‘RCurl’ are not available for package ‘devtools’

我也无法安装RCurl包。我也尝试过安装libcurl库:

sudo yum install libcurl4-openssl-dev
sudo yum install libcurl4-gnutls-dev

但是系统说没有这样的包可用。

有没有其他方法可以安装devtools包?或者我该如何解决Rcurl安装问题?

1 个答案:

答案 0 :(得分:6)

解决!

只需安装 curl-config

即可