events - R Shiny : Two buttons to build a the same dataset that used by the output function -
my shiny app has 2 buttons. button submit build random_wines dataset based on reactive input text. button random build exact same random_wines dataset time based on nothing, it's picks rows randomly.
the problem random buttom work. clicking on submit produces no result. here how wrote functions :
random_wines<- eventreactive(input$param_submit,{ res=fun_random_wine(input$caption) res }) random_wines<- eventreactive(input$param_random,{ res=fun_random_wine_r_button() res })
obviously think there don't get. seems it's not possible build reactive dataset 2 buttons. if guide me. thank you.
Comments
Post a Comment