Description Usage Arguments Value Author(s) References Examples
This functions lists the object names, type, size, and number of rows and
columns in the specificed enviroment. lsos()
is a shorthand interface
to list the most memory heavy objects.
1 2 3 4 |
pos |
Specifies the environment as a position in the search list. |
pattern |
an optional regular expression. Only names matching pattern are returned. |
order.by |
A character giving the column-name to sort by. Can be one of
|
decreasing |
logical. Should the rows be in decreasing order? |
head |
logical. Should only the rows be returned? |
n |
An integer giving the number of rows to be printed. Only used in
|
... |
Parameters assed to |
A data.frame
with columns "Type"
, "Size"
,
"Rows"
, "PrettySize"
, and "Columns"
.
Based on Dirk Eddelbuettel, Petr Pikal, David Hinds, Tony Breyal, JD Long
From http://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session
1 2 3 4 5 6 | A <- 1
B <- cbind(1:2, 2:3)
C <- replicate(10, rnorm(1e6))
Bmisc:::.ls.objects()
Bmisc:::.ls.objects(order.by = "Size")
lsos()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.