| colons | R Documentation |
Get an object from a namespace
package %::% name
package %:::% name
package %colons% name
package |
Name of the package |
name |
Name to retrieve |
The functions mimic the use of :: and ::: for extracting values
from namespaces. %colons% is an alias for %::%.
The variable name from package package
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.
help("::")
identical("base" %::% "mean", base::mean)
"fuj" %:::% "colons_example" # unexported value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.