Description Usage Arguments Examples
Imports one or more functions from a package into the parent environment, overwriting any existing objects in the parent environment sharing the name of the function(s). The package is loaded but not attached to the search list. Inspired by Python.
1 | from_import(package, ..., verbose = TRUE)
|
package |
the package name (length one character vector) |
... |
one or more function names (as-is, or as a list) |
verbose |
give a warning when overwriting existing objects? TRUE by default. |
1 2 3 4 5 | ## Not run:
from_import("dplyr", "select", "filter")
from_import("dplyr", list("select", "filter"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.