加载大型RData文件

时间:2012-11-19 07:23:06

标签: r load rdata

我无法加载RData文件,我收到以下错误消息

> load("GPL570_matrix.Rdata")
Error: cannot allocate vector of size 8.9 Gb
In addition: Warning messages:
1: Reached total allocation of 5941Mb: see help(memory.size) 
2: Reached total allocation of 5941Mb: see help(memory.size) 
3: Reached total allocation of 5941Mb: see help(memory.size) 
4: Reached total allocation of 5941Mb: see help(memory.size)

我尝试使用

增加内存限制
memory.limit(size=11264)

但是R最终崩溃了。这是我的会话信息

> sessionInfo()
R version 2.14.2 (2012-02-29)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_2.14.2

提前致谢。

0 个答案:

没有答案