Skip to content
Prev 11007 / 398502 Next

How packages are set up

On Tue, May 01, 2001 at 09:38:01AM -0700, Thomas Lumley wrote:
Just to follow up on the use of .RData format to store package code:
unfortunately this is currently only worth while if a significant
amount of computation can be moved from load time to package creation
time.  If this is not the case, .RData currently loses both on speed
and size: On my system loading nlme with library takes about 1.5
seconds; loading a version saved as .RData takes over 3 seconds.  The
R/nlme file in the installed package is also quite a bit smaller than
the .Rdata version.

This is clearly something we need to work on, and both loading speed
and size of .RData files used for code are likely to improve over
time.  Performance for data already seems to be quite reasonable.

luke
Message-ID: <20010501152645.A26404@nokomis.stat.umn.edu>
In-Reply-To: <Pine.A41.4.33.0105010932010.43516-100000@homer15.u.washington.edu>; from tlumley@u.washington.edu on Tue, May 01, 2001 at 09:38:01AM -0700