On Tue, 1 May 2001, Frank E Harrell Jr wrote:
In trying to get more familiar with R I have two questions.
1. For large packages it would be slow to parse all R source
code for the package each time library() is issued.
Yet I haven't found where a package's functions are stored
in in .RData format. Would someone please clarify this?
Well, the R source code *is* all parsed each time library() is issued, and
it isn't that slow. On my system (with network drives) it is less than a
second even for nlme, survival5, and MASS. I don't think .RData format
would be that much faster. The time to load the ratetables dataset in
survival5 (which is in .RData format) and to load the nlme package are
similar, and they are about the same size.