Provides an estimate of the memory that is being used to store an R object. A wrapper of `object.size`, but use a nicer printing unit.

object_size(object)

Arguments

object

an R object.

Value

An object of class "object_size"

Examples


iris %>% object_size()
#> 7.1 Kb