object_size function

Print object size

Print object size

A wrapper for object.size that prints in Mb by default

object_size(x, units = "Mb")

Arguments

  • x: an R object
  • units: the units to be used in printing the size

Returns

Returns a character with the object size followed by the unit.