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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -