r - 由于依赖关系,安装 devtools 失败,但依赖关系不适用于我拥有的 R 版本

标签 r linux

configure: error: 
---------------------------------------------
  OpenSSL library required

  Please install:
  libssl-dev (deb) or openssl-devel (rpm)
---------------------------------------------
See `config.log' for more details
ERROR: configuration failed for package ‘git2r’
 * removing ‘/home/udi/R/x86_64-pc-linux-gnu-library/3.2/git2r’
ERROR: dependency ‘openssl’ is not available for package ‘httr’
 * removing ‘/home/udi/R/x86_64-pc-linux-gnu-library/3.2/httr’
ERROR: dependencies ‘httr’, ‘git2r’ are not available for package ‘devtools’
 * removing ‘/home/udi/R/x86_64-pc-linux-gnu-library/3.2/devtools’

但是,当我尝试安装 libssl-dev(我有 Ubuntu 14.04.3)时,我收到消息“‘libssl-dev’不可用(对于 R 版本 3.2.2)”。

知道要做什么吗?下载新的 R 版本还是有其他解决方案?

最佳答案

那是一个系统包——不是 R 包。您可以从命令行运行

sudo apt-get install libssl-dev

关于r - 由于依赖关系,安装 devtools 失败,但依赖关系不适用于我拥有的 R 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35063883/

相关文章:

linux - sed - 没有那个文件或目录

linux - 调用 Bash 脚本并结束,而不是再次重新启动

r - 用于计算(平方)马氏距离的矢量化代码

r - 使用 dplyr 修改列中的一行

r - 自定义分组 dplyr 函数 (sample_n)

node.js - 从 node.js 脚本禁用 sudo/root 权限

linux - kill进程并行启动

r - 下划线的含义

在 R (zoo) 中对后视数据滚动应用时间序列

c++ - eclipse CDT : 'can' t find a source file' while debugging