shiny | |
Shiny | |
Author: | Joe Cheng |
Developer: | RStudio Inc. (and current renamed company Posit PBC) |
Latest Release Version: | 1.9.1[1] |
Programming Language: | R / Python |
License: | MIT License |
Shiny is a free and open source R package for developing web applications (apps).[2] It was announced by Joe Cheng, CTO of Posit, formerly RStudio, in 2012. One of the uses of Shiny has been in fast prototyping.[3]
In 2022, a separate implementation Shiny for Python was announced.[4] It is not meant to be a replacement, whereby both implementations will be developed concurrently and may never have all the features of each other. There is also Shinylive that allows running Shiny on the client (i.e., program code does not run on the server, reducing server load to just serving the code itself).[5]
Shiny creates a reactive context wherein the user specifies, through input variables, the circumstances under which computations are re-executed, or graphs (often visualizations) re-rendered; this occurs almost instantaneously. The input variables are evaluated via a user interface which allows the simple creation of widgets such as text boxes, radio buttons, and drop-down lists.[6] [7]
There are two main parts to a Shiny file, which may alternatively be stored in two separate files. One is designed to accommodate the user interface, the appearance of which is restricted by the default choices, though can be extended through various other R packages. The other is designed to accommodate the server computations and plot generating code, for which all the built-in facilities of R are available.[6]
Hosting a Shiny app on an RStudio server is free up to certain limits but paid tiers are relatively expensive compared to hosting on other cloud computing platforms.[6] [8]