object_size: Print object size
Description
A wrapper for object.size
that prints in Mb
by default
Usage
object_size(x, units = "Mb")
Value
Returns a character with the object size followed by the unit.
Arguments
- x
an R
object
- units
the units to be used in printing the size