[英]R install.packages - 'curl' call had nonzero exit status
At the moment I am getting this error and don't really know how to fix it.目前我收到此错误,并不知道如何修复它。 I only get it while working on a Packrat
R project.我只是在处理Packrat
R 项目时才得到它。
install.packages("dplyr")
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cran.rstudio.com:443 Error in download.file(url, destfile, method, mode = "wb", ...): 'curl' call had nonzero exit status curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cran.rstudio.com:443 Error in download.file(url, destfile, method, mode = "wb", ...): 'curl' call had nonzero exit status
I recently updated my MacOS version, as well as my R version.我最近更新了我的 MacOS 版本,以及我的 R 版本。
I tried installing libressl/openssl via brew.我尝试通过 brew 安装 libressl/openssl。
Here is the solution I found for this problem这是我为这个问题找到的解决方案
Install or upgrade libressl, openssl, curl安装或升级 libressl、openssl、curl
Restart your computer (this is important)重新启动计算机(这很重要)
On Mac terminal:在 Mac 终端上:
brew install libressl
brew install openssl
brew install curl
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.