To install the stable version from CRAN:
Once installed, load the library and run an example:
library(shiny) # Launches an app, with the app's source code included runExample("06_tabsets") # Lists more prepackaged examples runExample()
For more examples and inspiration, check out the Shiny User Gallery.
For help with learning fundamental Shiny programming concepts, check out the Mastering Shiny book and the Shiny Tutorial. The former is currently more up-to-date with modern Shiny features, whereas the latter takes a deeper, more visual, dive into fundamental concepts.
To ask a question about Shiny, please use the RStudio Community website.
We welcome contributions to the shiny package. Please see our CONTRIBUTING.md file for detailed guidelines of how to contribute.
The shiny package as a whole is licensed under the GPLv3. See the LICENSE file for more details.
Shiny is supported on the latest release version of R, as well as the previous four minor release versions of R. For example, if the latest release R version is 4.1, then that version is supported, as well as 4.0, 3.6, 3.5, and 3.4.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.