【发布时间】:2014-01-24 02:50:46
【问题描述】:
我最近建立了一个 AWS 账户,正在上传我需要的 R 包
该过程使用 CRAN 包顺利运行,例如使用命令
sudo su c "R e \"install.packages('ggplot2', repos='http://cran.rstudio.com/')\""
对于非 CRAN 包,我从这个来源获得了一些帮助 https://github.com/hadley/devtools/issues/414 并尝试过
Rscript -e 'library(devtools); library(methods); install_github(commandArgs(TRUE))' "ramnathv/rCharts"
压缩包(以及 github 上的其他包)下载,但随后出现错误
'lib="/usr/local/lib/R/site-library"' is not writable .
虽然这是写入 R 包的地方
有没有人成功完成了这个过程并且可以给我解决方案 发送
【问题讨论】:
标签: r amazon-web-services ubuntu devtools