hydron 服务器应该是苹果的,top显示物理内存有15g 但是R中总出现“Error: cannot allocate vector of size 1.5 Gb” 我估算了一下,大概需要6~7个G的内存,不知道如何操作? R CMD batch带上--max-mem-size=7000M貌似还是会报同样的错误。
fdbsjhc 检查一下自己的错误操作。 把程序存成script,然后退出R, 再重新启动R,运行你刚才存的script。我自己的经验是做模拟数据分析时,即便是1000 × 10000的数据量再加上调WinBUGS,也没有这么频繁地出错。
hydron you can compile a R in 64 bit machine. and about the limit of the memory, some one said: "There is of course a memory limit but it far exceeds 8GB. There is a limit on the length of vectors still (2^31 - 1) and a few other similar limits. "
pore http://cran.r-project.org/web/packages/ff/index.html 不知道这个包 ff: memory-efficient storage of large data on disk and fast access functions 能解决问题么