[Rd] Speeding up library loading

Roger D. Peng rpeng at jhsph.edu
Mon Apr 25 21:57:01 CEST 2005


I think the reason, as Uwe already said, is that you have to load 
the lazyload index file, and in your case that file is likely to 
be as large as the R file itself.

-roger

Ali - wrote:
> 
>> Is it possible to break the package into multiple parts, perhaps like 
>> a bundle?  Then you could only load the parts that you need at any 
>> particular time.
>>
> 
> It could be done, but the question is, what if one of the packages in 
> the bundle depends on all of the rest? And the bigger question is, why 
> lazy loading is not efficient when it comes to many small functions?
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 

-- 
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/



More information about the R-devel mailing list