Hello! I have a question.
In my shiny app, I have two action buttons in on the ui side.
On my server side, I have two corresponding observeEvent blocks of code.
The first block 'observes' what happens to action button 1:
firstblock <- observeEvent(input$button1_pressed, { do stuff, create objects })
The second block 'observes' what happens to action button 2.
secondblock <- observeEvent(input$button2_pressed, { use objects created in firstblock })
Let's assume that the user first clicks on action button 1, and only then on action button 2.
Question: Are objects created inside firstblock accessible directly under their names in secondblock? For example, if inside firstblock I created object1, can I "do things" to object1 in secondblock?
Thank you very much!