简体   繁体   English

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

[英]Unable to install Devtools package for R studio mounted on linux redhat server

I'm unable to install the devtools package in R Studio on a redhat linux server. 我无法在redhat linux服务器上的R Studio中安装devtools软件包。 These error messages showed up: 出现这些错误消息:

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’

I can't install the RCurl package too. 我也无法安装RCurl包。 I've tried to install the libcurl libraries too: 我也尝试过安装libcurl库:

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

But the system says no such packages are available available. 但该系统表示没有可用的此类软件包。

Is there any other way to install the devtools package? 有没有其他方法来安装devtools包? Or how can I resolve the Rcurl installation issue? 或者我该如何解决Rcurl安装问题?

Resolved! 解决!

Just need to install curl-config 只需要安装curl-config

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM