The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Enables Importing/Loading of Packages or Functions While Creating an Alias for Them
Version: 0.1.1
Author: Andrea Cantieni
Maintainer: Andrea Cantieni <andrea.cantieni@phsz.ch>
Description: Enables 'Python'-like importing/loading of packages or functions with aliasing to prevent namespace conflicts.
URL: https://github.com/andreaphsz/importar
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
Suggests: dplyr
Imports: utils
NeedsCompilation: no
Packaged: 2017-09-27 09:22:33 UTC; phsz
Repository: CRAN
Date/Publication: 2017-09-27 09:29:09 UTC

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)

This function imports/loads functions as in 'Python', i.e., “from package import function as alias”

Description

This function imports/loads functions as in 'Python', i.e., “from package import function as alias”

Usage

import_fun(package, fun, alias)

Arguments

package

Package name (unquoted).

fun

Function name (unquoted).

alias

Alias (unquoted) for the function.

Examples

import_fun(dplyr, filter, fil)
df <- data.frame(a=1:3, b=4:6)
fil(df, a == 2)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.