Skip to content

Instantly share code, notes, and snippets.

@szilard
Created July 8, 2014 17:53
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 szilard/1123eb76dec5eb34c414 to your computer and use it in GitHub Desktop.
Save szilard/1123eb76dec5eb34c414 to your computer and use it in GitHub Desktop.
rmarkdown v2 bug report (submitButton does not delay in Embedded Shiny App)
---
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