| 42333 |
ripley |
1 |
% File src/library/methods/man/EnvironmentClass.Rd
|
| 68948 |
ripley |
2 |
% Part of the R package, https://www.R-project.org
|
| 59039 |
ripley |
3 |
% Copyright 1995-2007 R Core Team
|
| 42333 |
ripley |
4 |
% Distributed under GPL 2 or later
|
|
|
5 |
|
| 19087 |
jmc |
6 |
\name{environment-class}
|
|
|
7 |
\docType{class}
|
| 56186 |
murdoch |
8 |
\alias{environment-class}
|
| 54540 |
hornik |
9 |
\title{Class \code{"environment"}}
|
| 19087 |
jmc |
10 |
\description{ A formal class for R environments.}
|
|
|
11 |
\section{Objects from the Class}{
|
|
|
12 |
Objects can be created by calls of the form \code{new("environment", ...)}.
|
|
|
13 |
The arguments in \dots, if any, should be named and will be assigned to
|
|
|
14 |
the newly created environment.
|
|
|
15 |
}
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
\section{Methods}{
|
|
|
19 |
\describe{
|
|
|
20 |
\item{coerce}{\code{signature(from = "ANY", to = "environment")}:
|
|
|
21 |
calls \code{\link{as.environment}}. }
|
|
|
22 |
\item{initialize}{\code{signature(object = "environment")}:
|
|
|
23 |
Implements the assignments in the new environment. Note that the
|
|
|
24 |
\code{object} argument is ignored; a new environment is
|
|
|
25 |
\emph{always} created, since environments are not protected by copying. }
|
|
|
26 |
}
|
|
|
27 |
}
|
|
|
28 |
\seealso{ \code{\link{new.env}} }
|
|
|
29 |
|
|
|
30 |
\keyword{classes}
|