我正在尝试在R上运行ExtremeBound包,当我运行它时会崩溃,因为内存似乎太小......
以下是错误消息:
Error: cannot allocate vector of size 2.6 Gb
In addition: Warning messages:
1: In colnames(vif.satisfied) <- colnames(include) <- colnames(weight) <- colnames(cdf.mu.generic) <- vars.labels :
Reached total allocation of 16296Mb: see help(memory.size)
2: In colnames(vif.satisfied) <- colnames(include) <- colnames(weight) <- colnames(cdf.mu.generic) <- vars.labels :
Reached total allocation of 16296Mb: see help(memory.size)
3: In `colnames<-`(`*tmp*`, value = c("(Intercept)", "US_CPI", "UK_CPI", :
Reached total allocation of 16296Mb: see help(memory.size)
4: In `colnames<-`(`*tmp*`, value = c("(Intercept)", "US_CPI", "UK_CPI", :
Reached total allocation of 16296Mb: see help(memory.size)
5: In `colnames<-`(`*tmp*`, value = c("(Intercept)", "US_CPI", "UK_CPI", :
Reached total allocation of 16296Mb: see help(memory.size)
6: In `colnames<-`(`*tmp*`, value = c("(Intercept)", "US_CPI", "UK_CPI", :
Reached total allocation of 16296Mb: see help(memory.size)
我已经分配了800GB硬件作为RAM(安装了16GB),我的Windows 10计算机正在使用Intel i7。
如何告诉R使用额外分配的RAM?我查找了其他问题,但答案重定向到使用似乎使整个问题更复杂的软件包。
此外,这是我的sessionInfo():
R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ExtremeBounds_0.1.5.1
loaded via a namespace (and not attached):
[1] tools_3.2.2 Formula_1.2-1
非常感谢!
萨姆