我无法在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
安装问题?
答案 0 :(得分:6)
解决!
只需安装 curl-config
即可