Remove single file example

The example will be moved to the gallery.
This commit is contained in:
Winston Chang
2014-08-13 14:22:26 -05:00
parent 91bd5127fb
commit 7706eebafb
2 changed files with 0 additions and 27 deletions

View File

@@ -1,7 +0,0 @@
Title: Single-file shiny app
Author: RStudio, Inc.
AuthorUrl: http://www.rstudio.com/
License: MIT
DisplayMode: Showcase
Tags: getting-started
Type: Shiny

View File

@@ -1,20 +0,0 @@
# Global variables can go here
n <- 200
# Define the UI
ui <- bootstrapPage(
numericInput('n', 'Number of obs', n),
plotOutput('plot')
)
# Define the server code
server <- function(input, output) {
output$plot <- renderPlot({
hist(runif(input$n))
})
}
# Return a Shiny app object
shinyApp(ui = ui, server = server)