ll {gdata} | R Documentation |
Display name, class, size, and dimensions of each object in a given environment.
ll(pos, ...) ## Default S3 method: ll(pos=1, unit=c("KB","MB","bytes"), digits=0, dimensions=FALSE,function.dim="", ...) ## S3 method for class 'data.frame': ll(pos, ...) ## S3 method for class 'list': ll(pos, ...)
pos |
environment position number, environment name, list, or data frame. |
unit |
required unit for displaying object size: "KB", "MB", "bytes", or first letter. |
digits |
number of decimals to display when rounding object size. |
dimensions |
whether object dimensions should be returned. |
function.dim |
value to report as the dimension of function objects. |
... |
passed to ls() . |
A verbose alternative to ls()
.
A data frame with named rows and the following columns:
Class |
object class. |
KB |
object size (see notes). |
Dim |
object dimensions (optional). |
The name of the object size column is the same as the unit used.
Objects of class classRepresentation
,
ClassUnionRepresentation
, and grob
do not have a defined
size, so 0 bytes are assumed for those.
Arni Magnusson arnima@u.washington.edu. Data frame and list methods contributed by Jim Rogers james_a_rogers@groton.pfizer.com.
ls
displays names of objects in a given environment.
elem
and env
are related to ll
.
ll() ll(all=TRUE) ll("package:base") ll("package:base")[ll("package:base")$Class!="function",] data(iris) ll(iris)