Skip to content

options(keep.source = TRUE) -- also for "library(.)" ?

2 messages · Brian Ripley, Thomas Lumley

#
Yes, but really I would rather have packages stored in separate
workspaces that the garabage collector avoided. Then space is less of
an issue.  Ross I know suggested that, but I don't think anyone
is working on it.

My guess would be that we will not have any space/gc improvements
ready for 1.1, unless Luke's things are close. (BTW, Luke, is your
changed code available?  I went to think about doing some timings the
other night and realized that I thought not. A cvs branch might be good(ish)
way to let us play with it.)

Brian
#
gcinfo reports the amount of remaining heap using
	vcells = R_VSize - (R_VTop - R_VHeap);

but R_alloc tests
        if (R_VMax - R_VTop < size)
		mem_err_heap(size);


This means that you can get an out of memory error when gcinfo insists
there are vast amounts of memory left.


	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._