shinyServer

0th

Percentile

Define Server Functionality

Defines the server-side logic of the Shiny application. This generally involves creating functions that map user inputs to various kinds of output.

Usage
shinyServer(func)
Arguments
func
The server function for this application. See the details section for more information.
Details

Call shinyServer from your application's server.R file, passing in a "server function" that provides the server-side logic of your application.

The server function will be called when each client (web browser) first loads the Shiny application's page. It must take an input and an output parameter. Any return value will be ignored.

See the http://rstudio.github.com/shiny/tutorial/{tutorial} for more on how to write a server function.

Aliases
  • shinyServer
Examples
# A very simple Shiny app that takes a message from the user
# and outputs an uppercase version of it.
shinyServer(function(input, output) {
  output$uppercase <- renderText({
    toupper(input$message)
  })
})
Documentation reproduced from package shiny, version 0.5.0, License: GPL-3

Community examples

Looks like there are no examples yet.