Timeout R package installation from Github

前端 未结 1 1206
孤城傲影
孤城傲影 2021-01-28 16:16

I\'m trying to install a package from github for R with devtools package. But I\'m encountering Timeout error from curl each time!

install_

相关标签:
1条回答
  • 2021-01-28 17:05

    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.

    0 讨论(0)
提交回复
热议问题