Overwrite :: Operator
pkg::name
pkg | package name: symbol or literal character string. |
---|---|
name | variable name: symbol or literal character string. Works with symbols which point to strings representing packages |
To turn on debug mode, in which a message is printed whenever
shorthand namespacing is in effect, set the option
options(importAs.debug = TRUE)
## shorthand namespacing d <- "dplyr" d::select#> function (.data, ...) #> { #> UseMethod("select") #> } #> <environment: namespace:dplyr>#> function (.data, ...) #> { #> UseMethod("select") #> } #> <environment: namespace:dplyr>"dplyr"::select#> function (.data, ...) #> { #> UseMethod("select") #> } #> <environment: namespace:dplyr>