r - output shiny app object details in UI -


my shiny app has large cached object loading on startup, using readrds(), leveraged in shinyserver() processing populate shinyui() defined textoutput().

is there trick populating textoutput ui says "loading cache object . . . " before readrds() call , changes saying "loaded cache object of size, object.size(cacheloadedobject)" once has finished loading?

the reason bit of ui behavior matters app input boxes accept input prior object being loaded disk not functional until reactive() , rendertext() textoutput updates trigger can't calculated until cached object loaded.

looked @ "shiny app loading ui" hits , didn't find on scenario.

you use shiny busy indicator show text while object loading. may find following links interesting:

shiny app busy indicator

http://deanattali.com/blog/advanced-shiny-tips/#busy-indicator

in addition hide/disable input fields (using shinyjs) on loading , enabling them when loading finished. see here more information:

disable textinput based on radio button selection on shiny

https://rdrr.io/cran/shinyjs/man/disabled.html


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -