code icon indicating copy to clipboard operation
code copied to clipboard

Update app.R

Open shobha-nosimpler opened this issue 3 years ago • 1 comments

Modified the server code to create datasetInput using eventReactive() function that creates a data frame for predictor variables to be updated in the event of hitting the submit button; as such, there is no need to create a csv file for test dataset. The reactive code in both, the text box and table, also get triggered upon event.

shobha-nosimpler avatar Jan 07 '22 11:01 shobha-nosimpler

Hi Chanin! I'm new to Shiny and find your videos very useful. I've used eventReactive function in server code to create a data frame for test dataset that gets updated with UI input values upon the event of hitting the submit button; hence there is no need to create csv file for the input values.

shobha-nosimpler avatar Jan 07 '22 11:01 shobha-nosimpler