想知道你之前是否遇到过这种情况:我在64位Windows系统上安装了R(R版本3.1.1(2014-07-10))中的rJava
软件包。当我尝试加载此包时,我收到此错误消息:
library(rJava)
Error : cannot allocate vector of size 3.8 Gb
In addition: Warning messages:
1: package ‘rJava’ was built under R version 3.1.3
2: In get(Info[i, 1], envir = env) :
Reached total allocation of 4028Mb: see help(memory.size)
3: In get(Info[i, 1], envir = env) :
Reached total allocation of 4028Mb: see help(memory.size)
4: In get(Info[i, 1], envir = env) :
Reached total allocation of 4028Mb: see help(memory.size)
5: In get(Info[i, 1], envir = env) :
Reached total allocation of 4028Mb: see help(memory.size)
Error: package or namespace load failed for ‘rJava’