【问题标题】:Trying to install RGoogleDocs package?尝试安装 RGoogleDocs 包?
【发布时间】: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


【解决方案1】:

只需要运行下面的4行:

install.packages('devtools')
library(devtools)
install_github("RGoogleDocs", "duncantl")
library(RGoogleDocs)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-08-18
    • 2021-11-09
    • 2019-05-24
    • 2021-04-05
    • 2014-07-07
    • 2014-01-23
    • 1970-01-01
    相关资源
    最近更新 更多