无法为Linux Redhat服务器上安装的R Studio安装Devtools软件包 [英] Unable to install Devtools package for R studio mounted on linux redhat server

查看:291
本文介绍了无法为Linux Redhat服务器上安装的R Studio安装Devtools软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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’

我也无法安装 RCurl 软件包。我也尝试安装 libcurl 库:

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.

还有其他方法可以安装 devtools 软件包吗?或如何解决 Rcurl 安装问题?

Is there any other way to install the devtools package? Or how can I resolve the Rcurl installation issue?

推荐答案

已解决!

只需安装 curl-config

这篇关于无法为Linux Redhat服务器上安装的R Studio安装Devtools软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆