View source: R/object_size_in_env.R
object_size_in_env | R Documentation |
Creates a sorted data.table
with the size of objects in a specified
environment.
object_size_in_env(env = .GlobalEnv, unit = "Mb")
env |
an environment, the default is the |
unit |
the units to be used in formatting and printing the size: "b", "Kb", "Mb", "Gb", "Tb", "Pb", "B", "KB", "MB", "GB", "TB" and "PB". |
Returns a data.table
with the size of objects in the given
environment
Jakob Gepp
DT <- object_size_in_env(env = environment())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.