我无法在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
但该系统表示没有可用的此类软件包.
解决方法
解决!
只需要安装curl-config