为什么RGoogleDocs需要给运行分配一个3.2Gb的vector?

Why does RGoogleDocs need to allocate a vector of 3.2Gb to run?

我最近从 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 会话解决了这个问题。