ABSTRACT

Most R Markdown output documents are static, and independent of R once compiled. You can also create interactive applications that rely on a live R session to support users' actions. For example, users can drag a slider to change the bin width of a histogram on the fly in the report. This can be achieved via Shiny documents, which contains the Shiny framework with R Markdown. You can either embed individual Shiny input and output widgets, or embed a full Shiny application in R Markdown. Because Shiny documents rely on R, they cannot be simply published as static web pages. Instead, you need to deploy them to web servers that support Shiny and R Markdown, such as RStudio connect or Shiny Server.