[R] R garbage collection
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Mar 31 09:09:03 CEST 2006
This is very clearly an R-devel topic according to the posting guide, so I
have answered it there.
On Thu, 30 Mar 2006, Jeff Henrikson wrote:
> The R manual lists two types of memory: transient and user-controlled.
> If I have transient blocks reachable from the globals only by traversal
> through user-controlled blocks, will they be correctly preserved?
> Secondly, what are the ways to mark user controlled blocks as "roots"
> for the garbage collector, so that transient blocks they reference stay
> uncollected? So far I can only deduce that as long as the answer to my
> first question is yes, I can bind an arbitrary symbol to them in the
> global environment. Is this the best way?
> Jeff Henrikson
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help