Installing a package offline from GitHub

前端 未结 5 1949
[愿得一人]
[愿得一人] 2020-12-14 18:06

I\'m trying to port some packages to an R installation on an offline (Windows) computer.

From CRAN (let\'s say data.table), the process: 1) download .zip

5条回答
  •  别那么骄傲
    2020-12-14 18:49

    You can use install_local from devtools to install a Github package with the zip you've downloaded, e.g. :

    library("devtools")
    install_local(path = "data.table-master.zip")
    

    But you'll have to install all dependancies first.

提交回复
热议问题