【问题标题】:Why does RGoogleDocs need to allocate a vector of 3.2Gb to run?为什么 RGoogleDocs 需要分配一个 3.2Gb 的向量才能运行?
【发布时间】:2015-06-23 09:14:58
【问题描述】:

我最近从 github 安装了 RGoogleDocs:

> devtools::install_github("duncantl/RGoogleDocs")

包编译安装成功,除了最后一行输出:

...
** building package indices
** testing if installed package can be loaded
* DONE (RGoogleDocs)
Making 'packages.html' ... done
Reloading installed RGoogleDocs
Error : cannot allocate vector of size 3.2 Gb

每当我尝试使用该库时,都会遇到同样的错误:

> library(RGoogleDocs)
Error : cannot allocate vector of size 3.2 Gb
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4],  :
  restarting interrupted promise evaluation
2: In get(method, envir = home) :
  restarting interrupted promise evaluation
Error: package or namespace load failed for ‘RGoogleDocs’

3.2 Gb 似乎是一个非常多的 RAM。我犯了一些错误还是这只是一个非常消耗内存的包?我在这台机器上只有 2 Gb 可用。

【问题讨论】:

    标签: r out-of-memory google-docs


    【解决方案1】:

    重新启动 R 会话解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2013-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-08
      • 2011-07-15
      • 2011-04-21
      • 2017-09-22
      相关资源
      最近更新 更多