I am loading somewhat large data files in the global.R
file of my shiny-app on a shiny-server. The advantage of loading it in the global.R
file is that it only loads once - not for every user again (if I understand correctly). However, the disadvantage is that way the apps takes around 10 seconds to start and I have no way to show a progress bar or anything. Does anybody know how to solve this issues?
Is there a way to save a workspace for ShinyApps? That way the data would not have to be loaded by load(...)
.