Hi everyone -
This mailing list is great for communicating ideas and problems, but when it comes to sharing code examples, it can be a bit tedious for app authors to cut and paste their files into an email message, and it can be even more tedious for readers to re-create the files from the email message.
I've written a set of functions that makes this easier:
shinySerialize()turns your Shiny app into text that can be cut-and-pasted into an email message.shinyDeserialize()does the reverse: it turns that text into a set of files, in an application directory (and subdirectories, if needed).shinyRun()is a wrapper function that first callsshinyDeserialize()to write out the app, then callsrunApp()to run it.
These functions aren't part of the Shiny package; for now they're just things I've been playing with. They're defined here: