Showing code in shiny_prerendered (context="server")


Over the past few months, we've started using shiny and in Rmarkdown at my teaching organization to wonderful effect. As our documents have grown more complex, we've switched over to shiny_prerendered to keep loading times down, which has also worked great. One challenge has arisen:

We've been unable to figure out how to make our source code display (i.e., ECHO=true) for any chunks with context="server". It works fine for "render", and even for "setup" and "data", but our source code doesn't appear for anything "server".

My understanding of shiny's architecture is still developing, but I can understand broadly why this might be the case. Is there any way around it? How can we get "server" contexts to render in our Rmarkdown output?


Any idea if this is possible?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.