Description Usage Arguments Value Examples
A wrapper around get
that allows using a qualified names like
'SomePackage::myFunc'
to retrieve an object from a specific unattached
(but loaded) package. Qualified names are recognized, parsed and then
getFromNamespace
is called instead ofget
.
1 | getSomewhere(x, ...)
|
x |
An object name, as a string. May be qualified with a prefixed
|
... |
Extra parameters ( |
The object named. It is an error if the object is not found.
1 2 3 4 5 6 7 | getSomewhere('ls')
#=> Returns base::ls, as base package is always loaded and attached.
try( getSomewhere('getAnywhere'))
#=> ERROR - utils::getAnywhere is not attached (it is loaded)
getSomewhere('utils::getAnywhere')
#=>
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.