Re: [R] Memory question

From: Huntsinger, Reid <reid_huntsinger_at_merck.com>
Date: Thu 14 Jul 2005 - 02:25:44 EST


One way I do this is to use Luke Tierney's "active bindings". I make an active binding of a name to a function which either loads or saves the object. Then the name behaves like the R object it's replacing. This works nicely as long as I don't need lots of random accesses to the matrix.

I'd be happy to send the functions I use to do this.

Reid Huntsinger

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Kenneth Roy Cabrera Torres
Sent: Wednesday, July 13, 2005 7:14 AM
To: r-help@stat.math.ethz.ch
Subject: [R] Memory question
Importance: High

Hi R users and developers:

I want to know how can I save memory in R for example:

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.

-- 
Kenneth Roy Cabrera Torres
Universidad Nacional de Colombia
Sede Medellin
Tel 430 9351
Cel 315 504 9339

______________________________________________
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 Thu Jul 14 02:35:41 2005

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