Learn R Programming

cgraph (version 6.0.1)

cg_session_graph: Get Active Graph

Description

Get the graph that is currently active.

Usage

cg_session_graph()

Arguments

Value

cg_graph object.

Examples

Run this code
# NOT RUN {
# Initialize a computational graph
graph <- cg_graph()

# Retrieve the graph from the session
cg_session_graph()

# }

Run the code above in your browser using DataLab