Learn R Programming

mod (version 0.1.3)

as_module: Use a Package as if a Module

Description

Use a Package as if a Module

Usage

as_module(package)

Arguments

package

name of a package; character

Value

a module that contains a package's exported objects

Examples

Run this code
# NOT RUN {
tcltk <- as_module("tcltk")
ls(tcltk)

tcltk$is.tclObj(NULL)

# }

Run the code above in your browser using DataLab