在没有管理员权限的情况下从 GitHub 安装 R 包(例如本地)
Installing R Package from GitHub without Admin Privileges (e.g. locally)
我正在尝试安装 BASiCS(一个 R 包):https://www.rdocumentation.org/packages/BASiCS/versions/0.3.1
我没有管理员权限。
我试过以下命令:
library(devtools)
install_github("catavallejos/BASiCS", lib="/mnt/data1/local/Rpackages")
但它不起作用,因为我没有管理员权限:
Error: ERROR: no permission to install to directory ‘/mnt/data1/bin/R/site-packages’
Installation failed: Command failed (1)
如何在没有管理员权限的情况下安装 BASiCS?
在您自己的用户目录中安装 R。我有同样的问题。
我正在尝试安装 BASiCS(一个 R 包):https://www.rdocumentation.org/packages/BASiCS/versions/0.3.1
我没有管理员权限。
我试过以下命令:
library(devtools)
install_github("catavallejos/BASiCS", lib="/mnt/data1/local/Rpackages")
但它不起作用,因为我没有管理员权限:
Error: ERROR: no permission to install to directory ‘/mnt/data1/bin/R/site-packages’
Installation failed: Command failed (1)
如何在没有管理员权限的情况下安装 BASiCS?
在您自己的用户目录中安装 R。我有同样的问题。