lso
lists object sizes and types.
lso(
pos = 1,
pattern,
order.by = "Size",
decreasing = TRUE,
head = TRUE,
n = 10
)
a number specifying the environment as a position in the search list.
an optional regular expression. Only names matching pattern are returned. glob2rx can be used to convert wildcard patterns to regular expressions.
column to sort the list by. Values are "Type"
, "Size"
, "Rows"
, and "Columns"
.
logical. If FALSE
, the list is sorted in ascending order.
logical. Should output be limited to n
lines?
if head=TRUE
, number of rows should be displayed?
a data.frame with four columns (Type, Size, Rows, Columns) and object names as row names.
This function list the sizes and types of all objects in an environment. By default, the list describes the objects in the current environment, presented in descending order by object size and reported in megabytes (Mb).