vendredi 13 mars 2015

R shiny observer function running twice


Vote count:

0




I want to update one of the csv file using observer and button in R shiny. I wrote simple code but the code is running twice once I hit the button . anyone tell me what wrong am I doing.



observer({


if(input$save_log) print("ABC") })


This code is printing ABC twice as ouput. I expect that it should be printing only once if I click on the button. I am using one action button ("save_log)



asked 1 min ago







R shiny observer function running twice

Aucun commentaire:

Enregistrer un commentaire