r - Show "Loading" custom message while function is running -
i trying find way display message "loading..." after actionbutton
pressed. function takes several minutes execute, need inform user somehow button triggered event.
part of server.r
code looks this:
output$plot <- renderplot({ function(donneestot(),unit="years",colors=c("black","gray30","gray50","gray70","blue3","dodgerblue3","steelblue1","lightskyblue1","red4","indianred3","orange","seagreen4"),main=title(),tpsmax=input$months) })
my action button called: plot1
. while graph being made want output message "loading" on place of plot.
do have idea how work?
Comments
Post a Comment