Description Usage Arguments Value Note Author(s) See Also Examples
Display name, class, size, and dimensions of each object in a given environment. Alternatively, if the main argument is a list-like object, its elements are listed and described.
1 2 |
pos |
environment position number, environment name, data frame,
list, model, or any object that |
unit |
unit for displaying object size: "bytes", "KB", "MB", or first letter. |
digits |
number of decimals to display when rounding object size. |
dim |
whether object dimensions should be returned. |
sort |
whether elements should be sorted by name. |
class |
character vector for limiting the output to specified classes. |
invert |
whether to invert the |
... |
passed to |
A data frame with named rows and the following columns:
Class |
object class. |
KB |
object size (see note). |
Dim |
object dimensions (optional). |
The name of the object size column is the same as the unit used.
Arni Magnusson, with a contribution by Jim Rogers
ll
is a verbose alternative to ls
(objects in an
environment) and names
(elements in a list-like object).
str
and summary
also describe elements in
a list-like objects.
env
is a related function that describes all loaded
environments.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.