View source: R/Documentation_templates.R
MseekContainers | R Documentation |
This is the MseekContainer template
MseekContainers(input, output, session, values) MseekContainersUI(id)
input, output, session |
arguments necessary for use with |
values |
a |
id |
id to be used to define a namespace via |
The server module for this container returns nothing
MseekContainers
: generic server logic example for MseekContainers
MseekContainersUI
: generic UI example for MseekContainers
Containers are used to keep the code organised and can be characterized
as Modules which contain other Modules, but do not contain add any functionality themselves.
They should not contain any observers and are only here to pass values
into modules,
or provide ways for individual Modules to interact with each other.
values
for a description of the values
object
General Information: MseekContainers
Specific containers: MseekContainer
, MainPageContainer
More on Shiny modules: http://shiny.rstudio.com/articles/modules.html
## Not run: ui <- function(request){ MseekContainerUI("Mseek") } server <- function(input, output, session) { callModule(MseekContainer, "Mseek") } Create Shiny app ---- shinyApp(ui, server) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.