R install.packages返回“无法创建锁定目录”
下载Rcpp软件包时出现此错误: > install.packages("Rcpp", dependencies=TRUE) Installing package(s) into ‘/home/me/src/Rlibs’ (as ‘lib’ is unspecified) trying URL 'http://cran.us.r-project.org/src/contrib/Rcpp_0.10.2.tar.gz' Content type 'application/x-gzip' length 2380089 bytes (2.3 Mb) ... Warning in dir.create(lockdir, recursive = TRUE) : cannot create dir '/home', reason 'Permission denied' ERROR: failed to create lock directory ‘/home/me/src/Rlibs/00LOCK-Rcpp’ ... 由于我的计算机位于计算机群集上,因此我已经在不同的节点上进行了尝试,并且小心删除了在/ tmp中下载的临时文件。奇怪的是我有权在/ home / …