我查了一下,还有一个700M的,这是不是意味着基本上在我512M内存的机子上用R会读不了?或者增加虚拟内存的话从原则上讲也还是可以的?
当然用SAS9.1能打开那个700M的sas文件。
[quote]
引用第4楼longoR++于2007-04-16 14:55发表的“”:
you can generate the same amount of data in R to see if it works on your computer before actually reading data.[/quote]
我用sas打开了那个文件,按这个方法试了一下,结果如下:(接下来怎么办?)
<br />
> nrow=2761724<br />
> ncol=33<br />
> m=matrix(1:(nrow*ncol),ncol=ncol)<br />
错误: 无法分配大小为356003 Kb的向量<br />
此外: Warning messages:<br />
1: Reached total allocation of 510Mb: see help(memory.size) <br />
2: Reached total allocation of 510Mb: see help(memory.size)