Typically, you create a Shiny application not only for yourself, but also for other users. There are a two main ways to distribute your app; either you let users download your application, or you deploy it on the web.
By offering the option to download your final Shiny application, other users can run your app locally. Actually, there are four ways to deliver your app this way. No matter which way you choose, it is important that the user has installed R and the Shiny
package on his/her computer.
Gist is a public code sharing pasteboard from GitHub. To share your app this way, it is important that both the ui.R
file and the server.R
file are in the same Gist and have been named correctly. Take a look at the following screenshot:
There are two options to run apps via Gist. First, just enter runGist("Gist_URL")
in the console of RStudio; or second, just use the Gist ID and place it in the shiny::runGist("Gist_ID...