[R] Run out of memory

Hongli Li hli at anvilinformatics.com
Mon Apr 2 23:03:30 CEST 2001

I am trying to use R to cluster 7129 samples, my data set is a 7129 x 38 matrix,  when I trying to get the distance matrix using function dist( ), the memory exhausted, and I tried to set the memory when I run R by 
R --vsize=250M --nsize=1000k

no matter what I set for vsize the result is the same, it says:

Error: heap memory (256000kb) exhausted [need 198498Kb more]
                                                                        (this doesn't change)

What can I do to solve this?

Thank you  very much!

Hongli Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010402/21156492/attachment.html

More information about the R-help mailing list