From simon.urbanek at r-project.org  Tue Nov  6 19:49:45 2012
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 6 Nov 2012 13:49:45 -0500
Subject: [Rd] LazyData: no / yes
In-Reply-To: <509950F0.503@u-paris10.fr>
References: <509950F0.503@u-paris10.fr>
Message-ID: <EEACC0F5-723B-40F7-958D-7080481DE84F@r-project.org>


On Nov 6, 2012, at 1:03 PM, Christophe Genolini wrote:

> 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?
> 

What do you mean by "memory used" - i.e. where do you get that from? After GC?
This certainly doesn't look like a "big dataset" by the numbers - I would classify that as tiny :)

Cheers,
Simon


> Thanks
> Christophe
> 
> 
> -- 
> Christophe Genolini
> Ma?tre de conf?rences en bio-statistique
> Vice pr?sident Communication interne et animation du campus
> Universit? Paris Ouest Nanterre La D?fense
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 



[Rd] LazyData: no / yes
Simon Urbanek