File: contents.Rd

package info (click to toggle)
r-bioc-biobase 2.66.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,136 kB
  • sloc: ansic: 642; makefile: 3
file content (31 lines) | stat: -rw-r--r-- 844 bytes parent folder | download | duplicates (7)
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
\name{contents}
\alias{contents}
\title{Function to retrieve contents of environments}
\description{
  The contents method is used to retrieve the values stored in an
  environment.
}
\usage{
contents(object, all.names)
}
\arguments{
    \item{object}{The environment (data table) that you want to get all contents from}
    \item{all.names}{a logical indicating whether to copy all values in \code{as.list.environment}}
}
\value{
  A named list is returned, where the elements are the objects stored in
  the environment.  The names of the elements are the names of the
  objects.

  The \code{all.names} argument is identical to the one used in
  \code{as.list.environment}.
}
\author{R. Gentleman}
\seealso{\code{\link{as.list.environment}}}
\examples{
  z <- new.env()
  multiassign(letters, 1:26, envir=z)
  contents(z)
}
\keyword{manip}