Re: [R] time of serialization

2010-08-15 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Saptarshi Guha > Sent: Sunday, August 15, 2010 9:23 AM > To: R-help@r-project.org > Subject: [R] time of serialization > > Hello, > I have question a

Re: [R] time of serialization

2010-08-15 Thread Saptarshi Guha
Hello, I take this back, wrong implementation of the experiment. Sorry for the noise. Regards Saptarshi On Sun, Aug 15, 2010 at 12:22 PM, Saptarshi Guha wrote: > Hello, > I have question about the overhead in lapply. > x is a list of 3000 lists. Each of the i (1<=i<=3000) list elements is > pai

[R] time of serialization

2010-08-15 Thread Saptarshi Guha
Hello, I have question about the overhead in lapply. x is a list of 3000 lists. Each of the i (1<=i<=3000) list elements is pair of two elements: a string vector and a data frame x is roughly 235MB. > gc() ## > z <- system.time(y <- lapply(x,function(r){ system.time(serialize(r,NULL))['elapsed