serializedSize {parallelly}R Documentation

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)

Arguments

obj

An R object.

Value

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

Author(s)

Mike FC

Examples

object.size(mtcars)
serializedSize(mtcars)


[Package parallelly version 1.38.0 Index]