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

久未见 提交于 2019-12-09 10:11:54

问题


I'm unable to install the devtools package in R Studio on a redhat linux server. 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. I've tried to install the libcurl libraries too:

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? Or how can I resolve the Rcurl installation issue?


回答1:


Resolved!

Just need to install curl-config



来源:https://stackoverflow.com/questions/20236726/unable-to-install-devtools-package-for-r-studio-mounted-on-linux-redhat-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!