首页 > 解决方案 > 无法在 RStudio 服务器上安装 bigrquery

问题描述

我最近在 Google Compute Engine 上安装了 RStudio 服务器,现在想连接到 BigQuery。我已成功安装并加载了 and 等软件包dplyrggplot2但未能加载bigrqueryand devtools。运行下面的代码片段:

install.packages("bigrquery")
install.packages('devtools')
devtools::install_github("rstats-db/bigrquery")

导致此错误消息:

loadNamespace(name) 中的错误:没有名为“devtools”的包</p>

单独加载bigrquery也会导致类似的错误消息:

库中的错误(bigrquery):没有名为“bigrquery”的包</p>

我注意到安装发送消息说软件包的依赖项不可用。我没有在我的 RStudio 桌面上安装bigrquery和加载这个问题。devtools我该如何解决这个问题?我在 Windows 上工作并在 Google Chrome 上启动 RStudio 服务器。

标签: rrstudio-serverbigrquery

解决方案


推荐阅读