[R] object size versus saved size?

2012-02-09 Thread luckjiff
Posting under new subject. I’ve a question on saving a earth object to disk. Say m is the model then print(object.size(m), units=”Mb”) 163.8 Mb and save it off save(m, “tmp.rda”) and “tmp.rda” is roughly 171Mb file. I would like this to be much smaller. So I try m$bx<-NULL then print(object.size(

[R] earth package question

2012-02-08 Thread luckjiff
I’ve a question on saving a earth object to disk. Say m is the model then print(object.size(m), units=”Mb”) 163.8 Mb and save it off save(m, “tmp.rda”) and “tmp.rda” is roughly 171Mb file. I would like this to be much smaller. So I try m$bx<-NULL then print(object.size(m), units=”Mb”) 14.9 Mb Grea