[Rd] options(keep.source = TRUE) -- also for "library(.)" ?
Prof Brian Ripley
Prof Brian Ripley <ripley@stats.ox.ac.uk>
Thu, 27 Apr 2000 14:57:41 +0100 (BST)
> Subject: Re: [Rd] options(keep.source = TRUE) -- also for "library(.)" ?
> From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
> Date: 27 Apr 2000 14:37:01 +0200
>
> Martin Maechler <maechler@stat.math.ethz.ch> writes:
>
> > Can we [those of us who know how sys.source() works...]
> > think of changing this? As it was possible for the base package, it must
> > be doable for the others as well....
>
> Martin, surely you could have figured out to remove these two lines
> from sys.source:
>
> oop <- options(keep.source = FALSE)
> on.exit(options(oop))
>
> The real question is whether we want to have a different mechanism for
> controlling whether keep.source is set or not. Originally it was FALSE
> for the base library to save space, and according the same setting was
> used for other libraries since some of them are rather large, but
> later it got flipped to TRUE for base, and then there is little point
> in setting it FALSE for packages. Question is whether anyone would
> want the old behaviour back to get more space for analyses?
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
--
Brian D. Ripley, ripley@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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._