garbage collector?
1
0
Entering edit mode
@dipl-ing-johannes-rainer-846
Last seen 9.7 years ago
hi, is there some kind of garbage collector in R available? i noticed, that the memory use of R remains the same although i delete very large data.frames from the workspace (using the rm function). cheers, jo
• 808 views
ADD COMMENT
0
Entering edit mode
@kasper-daniel-hansen-459
Last seen 9.7 years ago
Yes, use > gc() It should be called automatically when needed (I think), but I must say I get better results by calling it manually immediately after deleting massive datasets. Kasper On Wed, May 04, 2005 at 08:55:36AM +0200, Dipl.-Ing. Johannes Rainer wrote: > hi, > is there some kind of garbage collector in R available? i noticed, that > the memory use of R remains the same although i delete very large > data.frames from the workspace (using the rm function). > > cheers, jo > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor -- Kasper Daniel Hansen, Research Assistant Department of Biostatistics, University of Copenhagen
ADD COMMENT
0
Entering edit mode
thanks :) Quoting Kasper Daniel Hansen <k.hansen@biostat.ku.dk>: > Yes, use >> gc() > It should be called automatically when needed (I think), but I must say > I get better results by calling it manually immediately after deleting > massive datasets. > > Kasper > > On Wed, May 04, 2005 at 08:55:36AM +0200, Dipl.-Ing. Johannes Rainer wrote: >> hi, >> is there some kind of garbage collector in R available? i noticed, that >> the memory use of R remains the same although i delete very large >> data.frames from the workspace (using the rm function). >> >> cheers, jo >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor@stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor > > -- > Kasper Daniel Hansen, Research Assistant > Department of Biostatistics, University of Copenhagen > >
ADD REPLY

Login before adding your answer.

Traffic: 463 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6