Shiny Bookmarking to automatically save and restore state


#1

I have a fairly complex shiny app, and users have requested that they'd like the state to be automatically restored across sessions to the place where they left off before. Are there hooks to save and restore the state programmatically? In other words, I'd be constantly updating a disk file whenever the input state changes. When a new session starts, I'd retrieve the state from disk and update all the inputs.