How to install a package from a download zip file

前端 未结 7 1629
旧时难觅i
旧时难觅i 2020-12-02 19:15

I have download this package as a zip file.

Is it possible to install it from R console using this zip or unzip version to a specific path?

install.p         


        
7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 19:46

    If this is the zip of the source of a package, and the R core install.packages() doesn't work, then you can use install_local() from the devtools package.

    I often do this when installing packages from GitHub as getting curl through our proxy is painful. So I download the source zip and install like this.

提交回复
热议问题