Skip to contents

Estimates the memory size of an R object in bytes.

Usage

estimate_size(x)

Arguments

x

An R object to estimate

Value

Size in bytes as numeric

Examples

estimate_size(1:1000)
#> [1] 4048
estimate_size(iris)
#> [1] 7256