> * William Dunlap <jqha...@gvopb.pbz> [2012-02-28 23:06:54 +0000]:
>
> You need to walk through the objects, checking for environments on
> each component or attribute of an object.

so why doesn't object.size do that?

>   > f <- function(n) {
>   +   d <- data.frame(y = rnorm(n), x = rnorm(n))
>   +   lm(y ~ poly(x, 4), data=d)
>   + }

I am not doing any modeling. No "~". No formulas.
The whole thing is just a bunch of data frames.
I do a lot of strsplit, unlist, & subsetting, so I could imagine why
the RSS is triple the total size of my data if all the intermediate
results are not released.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://honestreporting.com http://memri.org
http://jihadwatch.org http://pmw.org.il http://camera.org http://ffii.org
To be popular with ladies one has to be smart, handsome & rich. Or to be a cat.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to