简体   繁体   中英

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.

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

I recently updated my MacOS version, as well as my R version.

I tried installing libressl/openssl via brew.

Here is the solution I found for this problem

  1. Install or upgrade libressl, openssl, curl

  2. Restart your computer (this is important)


On Mac terminal:

 brew install libressl
 brew install openssl
 brew install curl

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM