From p.dalgaard@biostat.ku.dk  Thu Apr 27 13:37:01 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 27 Apr 2000 14:37:01 +0200
Subject: [Rd] options(keep.source = TRUE) -- also for "library(.)" ?
In-Reply-To: Martin Maechler's message of "Thu, 27 Apr 2000 14:17:54 +0200 (CEST)"
References: <14600.12274.664989.534291@lynne.ethz.ch>
Message-ID: <x2d7nblnyq.fsf@blueberry.kubism.ku.dk>

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?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] options(keep.source = TRUE) -- also for "library(.)" ?
Peter Dalgaard BSA