By: Mine Cetinkaya-Rundel
You have two package options for building Shiny dashboards: flexdashboard
Easy interactive dashboards for R that
- use R Markdown to publish a group of related data visualizations as a dashboard,
- support a wide variety of components including htmlwidgets; base, lattice, and grid graphics; tabular data; gauges and value boxes; and text annotations,
- are flexible and easy to specify row and column-based layouts with intelligent re-sizing to fill the browser and adapted for display on mobile devices,
- offer storyboard layouts for presenting sequences of visualizations and related commentary, and
- optionally use Shiny to drive visualizations dynamically.
See documentation and demos on the flexdashboard homepage.
See documentation and demos on the shinydashboard homepage. Here, in addition to instructions for getting started, you can also browse example dashboards built with
shinydashboard, along with their source code.
Comparison of two options
|R Markdown||Shiny UI code|
|Super easy||Not quite as easy|
|Static or dynamic||Dynamic|
|CSS flexbox layout||Bootstrap grid layout|
For more on this topic, see the following resources:
We love it when R users help each other, but RStudio does not monitor or answer the comments in this thread. If you'd like to get specific help, we recommend the RStudio Community as well as the Shiny Discussion Forum for in depth discussion of Shiny related questions and How to get help article for a list of the best ways to get help with R code.comments powered by Disqus