I\'m having problems with reactive output in shiny server in R.
What I want to do is create a plotly plot that uses values calculated based on input.
The out
submitButton
is just made for this.
If you want to use actionButton
instead, simply use isolate
to avoid refresh based on value changes, and add the input$Button
in the code like:
output$Minimal_Example <- renderPrint({
input$Button
Age <- isolate(input$Age)
Sex <- isolate(input$ChosenSex)
c(Age, Sex)
})