Skip to content
Prev 44407 / 63421 Next

LazyData: no / yes

Hi the list

I have package foo0 with a big dataset 'myData'.
In DESCRIPTION, if I use 'LazyData: no', then I get:

  - when I open a R session : memory used=20 908
  - when I attach 'library(foo0)' : memory used=24364
  - then I load the set 'data(myData)' : memory used=39 668

If I use LazyData: yes', then I get
  - when I open a R session : memory used=20 908
- when I attach 'library(foo0)' : memory used=52 760.

In this second example, after 'library(foo0)', I was expecting the memory to rize up to 39 668, not 
to 52 760... Where does the difference come from?

Thanks
Christophe