| Line 23... |
Line 23... |
| 23 |
\arguments{
|
23 |
\arguments{
|
| 24 |
\item{x}{a character string or name.}
|
24 |
\item{x}{a character string or name.}
|
| 25 |
}
|
25 |
}
|
| 26 |
\details{
|
26 |
\details{
|
| 27 |
These functions look at all loaded namespaces, whether or not they are
|
27 |
These functions look at all loaded namespaces, whether or not they are
|
| 28 |
associated with a package on the search list.
|
28 |
associated with a package on the search list.
|
| 29 |
|
29 |
|
| 30 |
They do not search literally \dQuote{anywhere}: for example, local
|
30 |
They do not search literally \dQuote{anywhere}: for example, local
|
| 31 |
evaluation frames and namespaces that are not loaded will not be
|
31 |
evaluation frames and namespaces that are not loaded will not be
|
| 32 |
searched.
|
32 |
searched.
|
| 33 |
|
33 |
|
| Line 43... |
Line 43... |
| 43 |
\item{where}{a character vector explaining where the object(s) were found}
|
43 |
\item{where}{a character vector explaining where the object(s) were found}
|
| 44 |
\item{visible}{logical: is the object visible}
|
44 |
\item{visible}{logical: is the object visible}
|
| 45 |
\item{dups}{logical: is the object identical to one earlier in the
|
45 |
\item{dups}{logical: is the object identical to one earlier in the
|
| 46 |
list.}
|
46 |
list.}
|
| 47 |
In computing whether objects are identical, their environments are ignored.
|
47 |
In computing whether objects are identical, their environments are ignored.
|
| 48 |
|
48 |
|
| 49 |
Normally the structure will be hidden by the \code{print} method.
|
49 |
Normally the structure will be hidden by the \code{print} method.
|
| 50 |
There is a \code{[} method to extract one or more of the objects
|
50 |
There is a \code{[} method to extract one or more of the objects
|
| 51 |
found.
|
51 |
found.
|
| 52 |
|
52 |
|
| 53 |
For \code{argsAnywhere()} one or more argument lists as returned by
|
53 |
For \code{argsAnywhere()} one or more argument lists as returned by
|
| Line 56... |
Line 56... |
| 56 |
\seealso{
|
56 |
\seealso{
|
| 57 |
\code{\link{getS3method}} to find the method which would be used: this
|
57 |
\code{\link{getS3method}} to find the method which would be used: this
|
| 58 |
might not be the one of those returned by \code{getAnywhere} since it
|
58 |
might not be the one of those returned by \code{getAnywhere} since it
|
| 59 |
might have come from a namespace which was unloaded or be registered
|
59 |
might have come from a namespace which was unloaded or be registered
|
| 60 |
under another name.
|
60 |
under another name.
|
| 61 |
|
61 |
|
| 62 |
\code{\link{get}}, \code{\link{getFromNamespace}}, \code{\link{args}}
|
62 |
\code{\link{get}}, \code{\link{getFromNamespace}}, \code{\link{args}}
|
| 63 |
}
|
63 |
}
|
| 64 |
\examples{
|
64 |
\examples{
|
| 65 |
getAnywhere("format.dist")
|
65 |
getAnywhere("format.dist")
|
| 66 |
getAnywhere("simpleLoess") # not exported from stats
|
66 |
getAnywhere("simpleLoess") # not exported from stats
|