From: Kenneth Cabrera <krcabrer_at_epm.net.co>

Date: Thu 14 Jul 2005 - 20:32:11 EST

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 Thu Jul 14 20:20:20 2005

Date: Thu 14 Jul 2005 - 20:32:11 EST

Thank you Dr. Spencer Graves for your answer.

What function can I use to, once generated one matrix, I could save into
disk

and then use the same space for the following, and so on.

Thank you very much for your help

> What kinds of matrices? There are facilities in the Matrix and

*>SparseM packages that might help for sparse matrices. If they are N x k
**>where N is large and k is not, can you compute something like the QR
**>decomposition and get away with keeping only the R part for most of your
**>matrices?
**>
**> One could potentially define a class of matrices that are only kept
**>in memory only when needed; I think S-Plus may do that. It would take
**>a lot of work to make that work generally, but you might be able to
**>accomplish what you need with a much smaller effort.
**>
**> spencer graves
**>
**>Kenneth Roy Cabrera Torres wrote:
**>
**>
**>
**>>Hi R users and developers:
**>>
**>>I want to know how can I save memory in R
**>>for example:
**>> - saving on disk a matrix.
**>> - using again the matrix (changing their values)
**>> - saving again the matrix on disk in a different file.
**>>
**>>The idea is that I have a process that generate several
**>>matrices, but if I keep them all in memory it will overflow.
**>>
**>>How can I save them in different files, so I use the same
**>>amount of memory for each processed matrix?
**>>
**>>Thank you for your help.
**>>
**>>
**>>
**>
**>
**>
*

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 Thu Jul 14 20:20:20 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:33:40 EST
*