您能否举个例子来帮助我如何触发 eventReactive 表达式以通过“动作按钮”或通过从 selectInput 中选择另一个项目(而不是默认值)来启动,例如:
DAT<-eventReactive(input$action_button | input$sel_input_menu,{
rest of the code comes here that gets executed whenever I either hit the "actionbutton" or change the state of the selectInput...
})