Created
July 8, 2014 17:53
-
-
Save szilard/1123eb76dec5eb34c414 to your computer and use it in GitHub Desktop.
rmarkdown v2 bug report (submitButton does not delay in Embedded Shiny App)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
runtime: shiny | |
output: html_document | |
--- | |
```{r, echo=FALSE} | |
inputPanel( | |
selectInput("n", label = "n:", choices = c(10,50)), | |
submitButton("Update") | |
) | |
renderPlot({ | |
hist(faithful$eruptions, breaks = as.numeric(input$n)) | |
}) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment