From maechler at stat.math.ethz.ch  Mon Apr 25 19:14:20 2005
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Mon Apr 25 19:14:28 2005
Subject: [Rd] Speeding up library loading
In-Reply-To: <426D2026.9070201@statistik.uni-dortmund.de>
References: <BAY17-F35B2B8F6B3220D1E1379CD1200@phx.gbl>
	<426D2026.9070201@statistik.uni-dortmund.de>
Message-ID: <17005.9580.496192.296113@stat.math.ethz.ch>

>>>>> "UweL" == Uwe Ligges <ligges@statistik.uni-dortmund.de>
>>>>>     on Mon, 25 Apr 2005 18:51:50 +0200 writes:

    UweL> Ali - wrote:
    >> (1) When R tries to load a library, does it load 'everything' in the 
    >> library at once?

    UweL> No, see ?lazyLoad

are you sure Ali is talking about *package*s.
He did use the word "library" though, and most of us (including
Uwe!) know the difference...

    >> (2) Is there any options to 'load as you go'?

    UweL> Well, this is the way R does it....

for packages yes, because of lazyloading, as Uwe mentioned above.

For libraries, (you know: the things you get from compiling and
linking C code ..), it may be a bit different.

What do you really mean, packages or libraries,
Ali?


[Rd] Speeding up library loading
Martin Maechler