colons {fuj} | R Documentation |
Colons
Description
Get an object from a namespace
Usage
package %::% name
package %:::% name
package %colons% name
Arguments
package |
Name of the package |
name |
Name to retrieve |
Details
The functions mimic the use of ::
and :::
for extracting values
from namespaces. %colons%
is an alias for %::%
.
Value
The variable name
from package package
WARNING
To reiterate from other documentation: it is not advised to
use :::
in your code as it will retrieve non-exported objects that may be
more likely to change in their functionality that exported objects.
See Also
help("::")
Examples
identical("base" %::% "mean", base::mean)
"fuj" %:::% "colons_example" # unexported value
[Package fuj version 0.2.1 Index]