| Line 33... |
Line 33... |
| 33 |
\item{ifnotfound}{A \code{\link{list}} of values to be used if the item is
|
33 |
\item{ifnotfound}{A \code{\link{list}} of values to be used if the item is
|
| 34 |
not found: it will be coerced to a list if necessary.}
|
34 |
not found: it will be coerced to a list if necessary.}
|
| 35 |
}
|
35 |
}
|
| 36 |
\details{
|
36 |
\details{
|
| 37 |
The \code{pos} argument can specify the environment in which to look
|
37 |
The \code{pos} argument can specify the environment in which to look
|
| 38 |
for the object in any of several ways: as a positive integer (the position in
|
38 |
for the object in any of several ways: as a positive integer (the
|
| 39 |
the \code{\link{search}} list); as the character string name of an
|
39 |
position in the \code{\link{search}} list); as the character string
|
| 40 |
element in the search list; or as an \code{\link{environment}}
|
40 |
name of an element in the search list; or as an
|
| 41 |
(including using \code{\link{sys.frame}} to access the currently active
|
41 |
\code{\link{environment}} (including using \code{\link{sys.frame}}
|
| - |
|
42 |
to access the currently active function calls). The default of
|
| - |
|
43 |
\code{-1} indicates the current environment of the call to
|
| 42 |
function calls). The \code{envir} argument is an alternative way to
|
44 |
\code{get}. The \code{envir} argument is an alternative way to
|
| 43 |
specify an environment.
|
45 |
specify an environment.
|
| 44 |
|
46 |
|
| 45 |
These functions look to see if each of the name(s) \code{x} have a
|
47 |
These functions look to see if each of the name(s) \code{x} have a
|
| 46 |
value bound to it in the specified environment. If \code{inherits} is
|
48 |
value bound to it in the specified environment. If \code{inherits} is
|
| 47 |
\code{TRUE} and a value is not found for \code{x} in the specified
|
49 |
\code{TRUE} and a value is not found for \code{x} in the specified
|