File: serializedSize.Rd

package info (click to toggle)
r-cran-parallelly 1.42.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,216 kB
  • sloc: ansic: 111; sh: 13; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/serializedSize.R
\name{serializedSize}
\alias{serializedSize}
\title{Calculate the size of an R object when it is serialized}
\usage{
serializedSize(obj)
}
\arguments{
\item{obj}{An R object.}
}
\value{
(double) Number of bytes needed to serialize this object.
}
\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.
}
\examples{
object.size(mtcars)
serializedSize(mtcars)

}
\author{
Mike FC
}