Skip to content
Prev 3743 / 63424 Next

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

Martin Maechler <maechler@stat.math.ethz.ch> writes:
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?