9

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

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安装问题?

4

1 回答 1

5

解决!

只需要安装curl-config

于 2013-11-29T00:23:09.543 回答