Learn R Programming

cgraph (version 3.0.1)

cg_active: Change Active Graph

Description

Set the graph to be the active graph.

Arguments

Value

none.

Details

$active()

Examples

Run this code
# NOT RUN {
# Initialize a new computational graph.
x <- cgraph$new()

# Initialize another computational graph. It becomes the current active graph.
y <- cgraph$new()

# Set graph x to be the active graph.
x$active()

# }

Run the code above in your browser using DataLab