r - Permanently keep an object in memory in Shiny -


i understand can have objects shared across user sessions placing them in server.r, outside of call shinyserver(). there way keep objects stored in memory if nobody using app? takes long time me load these shared objects disk, speed things little bit user keeping them loaded "permanently".

create file global.r , put code loads data there. however, if server sleeps or resets information in memory lost.

shinyapps.io has setting "instance idle timeout" can set keep application alive longer. can set value in config file shiny server. see link below

http://rstudio.github.io/shiny-server/latest/#application-timeouts


Comments