Re: [R] Big matrix memory problem

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Fri 13 May 2005 - 22:58:01 EST

s104100026 wrote:

> Hi All,
>
> I want to read 256 1000x1000 matrices into R. I understand that it is unlikely
> that I can do this but In the hope that somebody can help me I am mailing this
> list.
>
> I have tried increasing my memory size (I understand that it is the minimum of
> 1024 or the computers RAM in my case 512)
>
> Does anyone think this is possible in R, could it be tried in Splus for
> example.

Given the matrices are numeric, you will need 256*1000*1000*8 = 2Gb of memory just to hold them in memory, in order to apply calculations, objects are frequently doubled .......
So you should really handle those matrices separately, either by getting them from a database or by saving them in form of separate Rdata objects.

Uwe Ligges

> Any help is greatly appreciated.
>
> Niall Fitzgerald
> Phd Candidate.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri May 13 23:01:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:45 EST