Encoding the state into a URL

In this method of bookmarking the state, the state of the app is embedded into a URL. As we have discussed, the state of the application means the input and output values at a particular time. So, the input and output values are embedded in the app for a time instance. The input and output values can be seen in the URL itself. As we are familiar with the coding of Shiny apps, the differences with bookmarking are that the UI has to be returned as a value of a function with a single argument and enableBookmarking() has to be called. When we discussed the different styles of coding a Shiny app in single file or multiple files, we learned we need to understand how to implement the requirements-implementing UI with ...

Get Web Application Development with R Using Shiny - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.