To run shiny programs, you need two files in the same directory:
- ui.R
- server.R
ui.R
|
# A shiny code requires two files: ui.R and server.R # This code will be saved as ui.R
|
server.R |
# A shiny code requires two files: ui.R and server.R # This code will be saved as server.R library(shiny) # call the Library to load into R shinyServer( function(input, output) { } ) |
To run a shiny program type > runApp()
Output:
Learn more about Shiny at https://class.coursera.org/devdataprod-004