Re: [Rd] Wishlist - better object.size() function

2008-11-19 Thread Gregor Gorjanc
Benjamin Hofner imbe.med.uni-erlangen.de> writes: ... > - Why is the function returning the size in bytes? This is (in most > cases) overly accurate and for humans hard to read. I would suggest to > have it printed in mb per default and additionally add a switch to > choose the appropriate unit

[Rd] Wishlist - better object.size() function

2008-11-19 Thread Benjamin Hofner
Some time ago I came across the function object.size() to estimate the size of an R object. I don't know if the behavior of the function is intended to be quite "user unfriendly" as it is right now or if just nobody was thinking/caring about it. I have two suggestions to improve it: - Why is i