Skip to content

Instantly share code, notes, and snippets.

@riinuots
Created October 20, 2017 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riinuots/c6ec0691633df2929adc7de90bdbc792 to your computer and use it in GitHub Desktop.
Save riinuots/c6ec0691633df2929adc7de90bdbc792 to your computer and use it in GitHub Desktop.
library(shiny)
library(tidyverse)
library(gapminder)
# User Interface
ui <- basicPage(
plotOutput(outputId = "myplot")
)
# Server
server <- function(input, output) {
output$myplot <- renderPlot({
#your plot code here:
})
}
shinyApp(ui, server)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment