Learn R Programming

shiny.router (version 0.3.1)

router_server: Create router pages server callback

Description

Server part of the router.

Usage

router_server(root_page = "/", env = parent.frame())

Value

Router pages server callback.

Arguments

root_page

Main page path.

env

Environment (only for advanced usage).

Examples

Run this code
if (FALSE) {
  server <- function(input, output, session) {
    router_server(root_page = "/")
  }
}

Run the code above in your browser using DataLab