import {importar} | R Documentation |
This function imports/loads packages as in 'Python', i.e., “import package as alias”
Description
This function imports/loads packages as in 'Python', i.e., “import package as alias”
Usage
import(package, alias)
Arguments
package |
Package name (unquoted). |
alias |
Alias (unquoted) for the package. |
Examples
import(dplyr, d)
df <- data.frame(a=1:3, b=4:6)
df %>% d$filter(a == 2)
[Package importar version 0.1.1 Index]