[R] Is there a way to detect when gc() is called?

Henrik Bengtsson hb at maths.lth.se
Mon Nov 12 18:15:04 CET 2001

I would like to run a method, which removes obsolete/redundant data in my
data structures, when gc() will/is/has been called. In other words, is it
possible to make the garbage collector to trig another function?

Thanks in advance

Henrik Bengtsson
h b @ m a t h s . l t h . s e

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list