1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
\name{env}
\alias{env}
\title{
Display Information about All Loaded Environments
}
\description{
Display name, number of objects, and size of all loaded environments.
}
\usage{
env(unit=c("KB","MB","bytes"), digits=0)
}
\arguments{
\item{unit}{required unit for displaying environment size: "bytes",
"KB", "MB", or first letter.}
\item{digits}{number of decimals to display when rounding environment
size.}
}
\details{
A verbose alternative to \code{search()}.
}
\value{
A data frame with the following columns:
\item{Environment}{environment name.}
\item{Objects}{number of objects in environment.}
\item{KB}{environment size \emph{(see notes)}.}
}
\note{
The name of the environment size column is the same as the unit used.
}
\author{Arni Magnusson \email{arnima@u.washington.edu}}
\seealso{
\code{\link{search}} displays environment names.
\code{\link{ll}} is related to \code{env}.
}
\examples{
\dontrun{
env()
}
}
% Basics
\keyword{data}
% Programming
\keyword{environment}
\keyword{utilities}
|