Skip to content
Prev 19360 / 63424 Next

Using the lazy data mechanism

John,

There are lots of examples without a namespace on CRAN.  The first in the 
alphabet (in the C locale) is DAAG.  Another example (but handled 
specially) is package 'datasets'.

Taking the version on CRAN (car_1.0-18) and adding

LazyData: yes
LazyLoad: yes

worked for me (and you don't actually need the second, as it works whether 
or not the R code is lazy-loaded).

Perhaps you can let me know offline what the problems are?

Brian
On Sat, 4 Feb 2006, John Fox wrote:

            
There's are article in R-news, but that describes the mechanism per se. 
How to use it is in `Writing R Extensions'.

[...]