Learn R Programming

Kmisc (version 0.5.0)

size: Print the Object Size, with Auto Units

Description

Provides an estimate of the memory that is being used to store an R object. Similar to object.size, but we set units="auto" as default.

Usage

size(x, quote = FALSE, units = "auto", ...)

Arguments

x
An R object.
quote
logical, indicating whether or not the result should be printed with surrounding quotes.
units
The units to be used in printing the size. Other allowed values are "Kb", "Mb", "Gb" and "auto". See object.size for more details.
...
Arguments to be passed to or from other methods.