【问题标题】:Curl certificate location error in RR中的卷曲证书位置错误
【发布时间】:2017-09-07 14:11:47
【问题描述】:

在 Windows 7 上尝试将 devtools:install_github 与 R 3.4.1 一起使用时出现以下错误:

> devtools::install_github("baptiste/ggflags")
Installation failed: error setting certificate verify locations:
  CAfile: /mingw32/ssl/certs/ca-bundle.crt
  CApath: none

但是,完全相同的命令在使用 R 3.3.2 的同一系统上运行良好。两个安装的 .Rprofiles 是相同的。我已尝试按照this 的帖子重新安装RCurl,但无济于事。

【问题讨论】:

    标签: r git curl


    【解决方案1】:

    对我来说,此错误与代理服务器设置有关。

    这有效:https://github.com/jeroen/curl/issues/116

    编辑您的环境文件 - file.edit('~/.Renviron') - 以相应地更改您的 https 代理

    【讨论】:

      猜你喜欢
      • 2019-01-24
      • 2011-01-31
      • 2012-04-23
      • 2021-01-16
      • 2018-11-24
      • 2017-06-08
      • 2015-08-24
      • 2013-11-10
      相关资源
      最近更新 更多