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.

here screen of app : enter image description here

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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -