Loading an R Package from a Custom directory

后端 未结 5 2097
温柔的废话
温柔的废话 2020-12-25 12:57

If I download an \"package-name\".tar.gz file from CRAN website, gunzip and untar it into a custom directory, how do I load that package from within R? I cannot extract the

5条回答
  •  长情又很酷
    2020-12-25 13:29

    You can't call R CMD INSTALL downloadedpackage.gz?

    As I understand it, this should install the package in your user-space if it cannot get write permissions to the R installation folder

提交回复
热议问题