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

View source: R/serializedSize.R

serializedSizeR 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)


parallelly documentation built on Sept. 11, 2024, 7:56 p.m.