【发布时间】:2016-06-01 17:49:17
【问题描述】:
我正在尝试使用 R 下载文件并将其上传到 Google Drive 上的共享文件夹。作为第一步,我正在尝试安装包 RGoogleDocs。这是我安装软件包的 R 命令:
install.packages("RGoogleDocs", repos = "http://www.omegahat.org/R", type="source")
我收到此错误:
'unable to access index for repository'
'cannot open URL'
这是我用来安装 RGoogleDocs 包的正确存储库 URL 吗?
【问题讨论】:
-
我会尝试将
devtools::install_github("duncantl/RGoogleDocs")用作it seems to be on GIthub。您需要devtools包来运行该命令。 -
如果你知道
RGoogleDocs包的zip file的位置或URL,你可以试试install_url()或install_github()包中的install_github()函数
标签: r installation