Learn R Programming

formods (version 0.2.1)

FM_fetch_mod_state: Fetch the Module State

Description

Fetches the module state from the userdata under the specified id

Usage

FM_fetch_mod_state(session, id)

Value

module state or NULL if it's not defined.

Arguments

session

Shiny session variable.

id

ID string for the module.

Examples

Run this code
# We need a Shiny session variable to use this function:
sess_res = UD_test_mksession()
session = sess_res$session
state = FM_fetch_mod_state(session, "UD")

Run the code above in your browser using DataLab