Elegantly list objects in a R session.
lsos(
pos = 1,
pattern,
order.by = "Size",
decreasing = TRUE,
head = TRUE,
n = 10
)
Where to look for the object (see "Details" in base::get()
's
documentation)
An optional regular expression to match names (utils::glob2rx()
can be used to convert wildcard patterns to regular expressions)
Sort by "Size"
(default), "Type"
, "Rows"
or "Columns"
Should the sorting be decreasing?
Should utils::head()
function be used for printing?
How many lines utils::head()
function should show?
http://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session