[R] object size versus saved size?

luckjiff luckjiff at gmail.com
Thu Feb 9 17:50:25 CET 2012


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(m), units=”Mb”)
14.9 Mb Great!
however when I save it off
save(m, “tmp.rda”)
and “tmp.rda” is roughly 171Mb file – the same size.

I do not care about the size of the file per se, I care about loading a
smaller object at a future date. 

--
View this message in context: http://r.789695.n4.nabble.com/object-size-versus-saved-size-tp4373478p4373478.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list