'pre-loading module R shiny

For an 'output' that doesn't use renderUI, but is a module, such as:

modUI <- function(id) {
  ns <- NS(id)
    tabsetPanel(
      tabPanel("Plot", ...),
      tabPanel("Summary", ...),
      tabPanel("Table", ... )
    )
}

What would be the equivalent to:

outputOptions(output, "ouname", suspendWhenHidden = FALSE)

to load in advance?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source