Calculate the size of an R object when it is serialized
This function goes through all the motions of serializing an object, but does nothing with the bytes other than to tally the total length.
serializedSize(obj)
obj
: An R object.(double) Number of bytes needed to serialize this object.
object.size(mtcars) serializedSize(mtcars)
Mike FC
Useful links