Saleh Salehizadeh Saleh Salehizadeh - 1 year ago 204
R Question

Timeout R package installation from github

I'm trying to install a package from github for R with

But I'm encountering Timeout error from curl each time!


Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Timeout was reached

Any Idea why this happens? Any help will be appreciated.

Answer Source

When I want to download this package it also takes long to get a connection but in the end it works as expected. Another possibility is to download the zip file and then install it.

To install the package after downloading, the following code works:

install.packages("/address/to/zip-package", repos = NULL, type="source")

and write the address of the downloaded package in place of /address/to/zip-package, or use RStudio and Packages -> Install.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download