Re: [Rd] LazyData: no / yes

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Tue, 06 Nov 2012 13:49:45 -0500

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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 06 Nov 2012 - 19:16:46 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 Nov 2012 - 22:30:52 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive