Shiny is an R package which combines R programming with the interactivity of the web.
install.packages("shiny")
Methods for Use
- Online
- Locally
February 03 2021
Shiny is an R package which combines R programming with the interactivity of the web.
install.packages("shiny")
Methods for Use
Easiest Method
No Internet required once configured
Online:
Local:
shinyApp( ui = fluidPage( selectInput("region", "Region:", choices = colnames(WorldPhones)), plotOutput("phonePlot") ), server = function(input, output) { output$phonePlot <- renderPlot({ barplot(WorldPhones[,input$region]*1000, ylab = "Number of Telephones", xlab = "Year") }) } )
Kahoot Quiz
What new features in RStudio are available for you to use once the shiny package is installed?
The Region 11 Web App uses which 2 data sources for its reports?
If an error occurs while using the Region 11 Web App, what should you do?
A shiny app consists of:
RStudio. 2014. “Shinydashboard - Use Shiny to Create Dashboards.” 2014. https://rstudio.github.io/shinydashboard/.
———. 2017a. “shinyapps.io - Share Your Shiny Applications Online.” 2017. http://www.shinyapps.io/.
———. 2017b. “Shiny - Interactive Web Applications.” 2017. http://shiny.rstudio.com.