Re: [R] lazy loading like object

2013-05-28 Thread Matteo Mattiuzzi
Dear Prof Ripley, thanks for your answer, >>> Prof Brian Ripley 05/28/13 11:07 AM >>> 1) This is a topic for the R-devel list. Ok so I will post it to that list (if save() does not properly work). 2) It sounds like something which should be done at installation, and can easily be done via top-

Re: [R] lazy loading like object

2013-05-28 Thread Prof Brian Ripley
1) This is a topic for the R-devel list. 2) It sounds like something which should be done at installation, and can easily be done via top-level code in your R files. 3) We have no idea what 'gdal-bin' is, nor how that can be a 'library'. But save()-d R objects are portable unless something l

[R] lazy loading like object

2013-05-28 Thread Matteo Mattiuzzi
Dear List, I'm writing the package MODIS (currently on R-forge), I lazy load some data which is a very elegant solution. These lazy loaded objects are typically used inside functions, most of that objects are not directly used by users. One of the objects I want to lazy load (is a result of a