[R] Lazy loading... advices

Douglas Bates bates at stat.wisc.edu
Sat Oct 16 18:15:02 CEST 2004


Philippe Grosjean wrote:
> Hello,
> 
> I am looking for more information about lazy loading introduced in R 2.0.0.
> Doing
> ?lazyLoad
> I got some and there is a 'see also' section that points to
> 'makeLazyLoading'... But I cannot reach this page.
> 
> My problem is: I recompiled a library that uses a lot of functions from
> other libraries (of course I can give details if needed). I load it in my
> computer: library(svGUI), and it takes something like 20 seconds to load. In
> R 1.9.1 it took 3-4 seconds on the same machine (Windows XP). So, I try now
> to understand the mechanism and to find a way to lower the loading time of
> this library with lazy loading (its goal is to load faster, isn't, so I
> probably do something wrong).
> 
> Any help or advice would be appreciated.
> 

Have you read the article about lazyLoad mechanism that Brian Ripley 
wrote for the latest R News issue?




More information about the R-help mailing list