| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/bindenv.Rd
|
1 |
% File src/library/base/man/bindenv.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2016 R Core Team
|
3 |
% Copyright 1995-2018 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{bindenv}
|
6 |
\name{bindenv}
|
| 7 |
\title{Binding and Environment Locking, Active Bindings}
|
7 |
\title{Binding and Environment Locking, Active Bindings}
|
| 8 |
\usage{
|
8 |
\usage{
|
| Line 54... |
Line 54... |
| 54 |
arguments, and assigning to \code{sym} calls \code{fun} with one
|
54 |
arguments, and assigning to \code{sym} calls \code{fun} with one
|
| 55 |
argument, the value to be assigned. This allows the implementation of
|
55 |
argument, the value to be assigned. This allows the implementation of
|
| 56 |
things like C variables linked to \R variables and variables linked to
|
56 |
things like C variables linked to \R variables and variables linked to
|
| 57 |
databases, and is used to implement \code{\link{setRefClass}}. It may
|
57 |
databases, and is used to implement \code{\link{setRefClass}}. It may
|
| 58 |
also be useful for making thread-safe versions of some system globals.
|
58 |
also be useful for making thread-safe versions of some system globals.
|
| - |
|
59 |
Currently active bindings are not preserved during package installation,
|
| - |
|
60 |
but they can be created in \code{\link{.onLoad}}.
|
| 59 |
}
|
61 |
}
|
| 60 |
\value{
|
62 |
\value{
|
| 61 |
The \code{bindingIsLocked} and \code{environmentIsLocked} return a
|
63 |
The \code{bindingIsLocked} and \code{environmentIsLocked} return a
|
| 62 |
length-one logical vector. The remaining functions return
|
64 |
length-one logical vector. The remaining functions return
|
| 63 |
\code{NULL}, invisibly.
|
65 |
\code{NULL}, invisibly.
|