The R Project SVN R

Rev

Rev 54540 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
19087 jmc 1
\name{environment-class}
2
\docType{class}
3
\alias{environment-class}
4
\title{Class "environment" }
5
\description{ A formal class for R environments.}
6
\section{Objects from the Class}{
7
Objects can be created by calls of the form \code{new("environment", ...)}.
8
The arguments in \dots, if any, should be named and will be assigned to
9
the newly created environment.
10
}
11
 
12
 
13
\section{Methods}{
14
  \describe{
15
    \item{coerce}{\code{signature(from = "ANY", to = "environment")}:
16
      calls \code{\link{as.environment}}. }
17
    \item{initialize}{\code{signature(object = "environment")}:
18
      Implements the assignments in the new environment.  Note that the
19
      \code{object} argument is ignored; a new environment is
20
      \emph{always} created, since environments are not protected by copying. }
21
  }
22
}
23
\seealso{ \code{\link{new.env}} }
24
 
25
\keyword{classes}