[Rd] options(keep.source = TRUE) -- also for "library(.)" ?
Martin Maechler <firstname.lastname@example.org>
Thu, 27 Apr 2000 14:17:54 +0200 (CEST)
keep.source: When `TRUE', the default, the source code for functions
loaded by is stored in their `"source"' attribute, allowing
comments to be kept in the right places.
This does not apply to functions loaded by `library'.
and R behaves as documented, i.e., currently
all functions in package:base and all "interactively defined" functions
keep their source (__including__ comments) with them, whereas all the other
functions do not.
As I tend to create small own packages more and more, and ask others to use
them, users of the packages (and myself) are suffering increasingly from
function definitions with lost comments.
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....
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: email@example.com