Learn R Programming

formods (version 0.2.1)

FM_set_app_state: Set the App State

Description

Takes a loaded app state and overwrites the current app state

Usage

FM_set_app_state(session, app_state, set_holds = TRUE)

Value

No return value, just updates the app state in the session variable.

Arguments

session

Shiny session variable.

app_state

Loaded app state.

set_holds

If TRUE (default) the holds will be set for all of the modules present in the app state.

Examples

Run this code
# We need a Shiny session object to use this function:
sess_res = UD_test_mksession()
session = sess_res$session
app_state = FM_fetch_app_state(session)
FM_set_app_state(session, app_state)

Run the code above in your browser using DataLab