Skip to content
Prev 8940 / 63424 Next

require vs library

On 23 Feb 2003, Peter Dalgaard BSA wrote:

            
More precisely, it autoloads dist from mva, so you get mva if and only
if you use a function that uses it, and it seems that is corSpatial.

lattice autoloads loess and loess.smooth from modreg.

I don't like autoloads for this reason: they change the search path 
without warning.   Hopefully by 1.8.0 we will have better mechanisms
(import from namespaces, on-demand loading of objects from databases 
which allows all the base and recommended packages to be attached with 
negligible penalty).