[R] Problem with memory for large datasets

Spencer Graves spencer.graves at pdf.com
Wed Sep 24 17:54:40 CEST 2003

What have you done to remove "temporary objects"?  Does this include 
"rm(list='ls()')"  or "remove(list=objects())"? 

hope this helps.  spencer graves

ZABALZA-MEZGHANI Isabelle wrote:

>I would like to know if there is a possibility to "clean" the R memory
>during a R session. In fact, I realize a lot of instruction with large
>objects (matrix of 500*5000), and I can not manage to achieve the end of my
>script due to memory lack. Of course, I've tried to remove all "temporary
>object" during the script execution and to perform a garbage collector ...
>But it seems to have no effect ...
>Any idea to solve this problem without an exit from R ?
>Isabelle Zabalza-Mezghani
>IFP - Reservoir Engineering Department
>Rueil Malmaison - France
>R-help at stat.math.ethz.ch mailing list

More information about the R-help mailing list