【发布时间】: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