Skip to content

rstudio/shiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1018f7c · Oct 29, 2024
Jul 23, 2024
May 24, 2024
Sep 30, 2022
Jul 29, 2024
Oct 29, 2024
Aug 3, 2021
Jul 29, 2024
Feb 14, 2013
Jul 29, 2024
Nov 16, 2015
Oct 29, 2024
Oct 15, 2024
Sep 27, 2024
Jun 15, 2021
Apr 3, 2014
Jun 15, 2021
Jul 24, 2024
Jun 18, 2021
Aug 13, 2021
Jun 15, 2021
Sep 15, 2023
Aug 1, 2024
May 12, 2021
Jul 22, 2024
Sep 30, 2024
Mar 27, 2024
Feb 13, 2018
Jun 15, 2021
May 18, 2015
Jun 15, 2021
Aug 1, 2024
Nov 15, 2018
Oct 31, 2022
Oct 22, 2024

Repository files navigation

shiny

CRAN R build status RStudio community

Easily build rich and productive interactive web apps in R — no HTML/CSS/JavaScript required.

Features

  • An intuitive and extensible reactive programming model which makes it easy to transform existing R code into a "live app" where outputs automatically react to new user input.
    • Compared to event-based programming, reactivity allows Shiny to do the minimum amount of work when input(s) change, and allows humans to more easily reason about complex MVC logic.
  • A prebuilt set of highly sophisticated, customizable, and easy-to-use widgets (e.g., plots, tables, sliders, dropdowns, date pickers, and more).
  • An attractive default look based on Bootstrap which can also be easily customized with the bslib package or avoided entirely with more direct R bindings to HTML/CSS/JavaScript.
  • Seamless integration with R Markdown, making it easy to embed numerous applications natively within a larger dynamic document.
  • Tools for improving and monitoring performance, including native support for async programming, caching, load testing, and more.
  • Modules: a framework for reducing code duplication and complexity.
  • An ability to bookmark application state and/or generate code to reproduce output(s).
  • A rich ecosystem of extension packages for more custom widgets, input validation, unit testing, and more.

Installation

To install the stable version from CRAN:

install.packages("shiny")

Getting Started

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.

Join the conversation

If you want to chat about Shiny, meet other developers, or help us decide what to work on next, join us on Discord.

Getting Help

To ask a question about Shiny, please use the RStudio Community website.

For bug reports, please use the issue tracker and also keep in mind that by writing a good bug report, you're more likely to get help with your problem.

Contributing

We welcome contributions to the shiny package. Please see our CONTRIBUTING.md file for detailed guidelines of how to contribute.

License

The shiny package as a whole is licensed under the GPLv3. See the LICENSE file for more details.

R version support

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.