[R] (no subject)

David Ruau David.Ruau at rwth-aachen.de
Wed Jul 20 09:18:38 CEST 2005


Hi All,

I want to print a square matrix of 7000 x 7000 into a text file. But I 
got a error after few hours of computation...
--------
 > write.table(MyDistMxDF, file = "temp.csv", sep=",", quote=F)
*** malloc: vm_allocate(size=8421376) failed (error code=3)
*** malloc[2889]: error: Can't allocate region
Error: vector memory exhausted (limit reached?)
*** malloc: vm_allocate(size=8421376) failed (error code=3)
*** malloc[2889]: error: Can't allocate region
 >  q()
*** malloc: vm_allocate(size=8421376) failed (error code=3)
*** malloc[2889]: error: Can't allocate region
*** malloc: vm_allocate(size=8421376) failed (error code=3)
*** malloc[2889]: error: Can't allocate region
Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
         internal error in decompress1
 >
------
I am running R 2.0.1 on MacOS X 10.3 with 1Gb ram.
How could I write such a matrix to a text file.

David




More information about the R-help mailing list