Learn R Programming

parallelly (version 1.38.0)

serializedSize: Calculate the size of an R object when it is serialized

Description

This function goes through all the motions of serializing an object, but does nothing with the bytes other than to tally the total length.

Usage

serializedSize(obj)

Value

(integer or double) Number of bytes needed to serialize this object.

Arguments

obj

An R object.

Author

Mike FC

Examples

Run this code
object.size(mtcars)
serializedSize(mtcars)

Run the code above in your browser using DataLab