#
R Markdown | webally.co.za
R Markdown documents are fully reproducible. Use a productive notebook interface to weave together narrative text and code to produce elegantly formatted output. Use multiple languages including R, Python, and SQL.
R Markdown supports dozens of static and dynamic output formats including
- HTML
- MS Word
- Beamer
- HTML5 slides,
- Tufte-style handouts
- books,
- dashboards,
- shiny applications,
- scientific articles>,
- websites and more
#
Full R Markdown Docs
#
Some More Interesting Links
- R Cheat Sheet
- Reusable Version in rCharts
- Pandoc Artcle Example
- A Tufte Handout Example
- Leaflet Layers Example
- Cran Gauge Example
#
Dashboards
#
Authoring Books and Technical Documents with R Markdown
#
R for Data Science
#
All the above and more R Markkown
[ttps://rmarkdown.rstudio.com]https://rmarkdown.rstudio.com/)
anlyze. Share. Reproduce.
- Your data tells a story. Tell it with R Markdown. Turn your analyses into high quality documents, reports, presentations and dashboards.
#
flexdashboard
The goal of flexdashboard is to make it easy to create interactive dashboards for R, using R Markdown.
- Use R Markdown to publish a group of related data visualizations as a dashboard.
- Support for a wide variety of components including htmlwidgets; base, lattice, and grid graphics; tabular data; gauges and value boxes; and text annotations.
- Flexible and easy to specify row and column-based layouts. Components are intelligently re-sized to fill the browser and adapted for display on mobile devices.
- Storyboard layouts for presenting sequences of visualizations and related commentary.
- Optionally use Shiny to drive visualizations dynamically.
- Optionally use bslib to easily customize main colors, fonts, and more.
- Learn more about flexdashboard: https://pkgs.rstudio.com/flexdashboard
Examples:
||| ||| ||| |||
View more examples here.
#
Installation
Install the flexdashboard package from CRAN as follows:
install.packages("flexdashboard")
If you want to use the development version of the flexdashboard package, you can install the package from GitHub via the remotes package:
remotes::install_github('rstudio/flexdashboard')
#
Usage
To author a flexdashboard you create an R Markdown document with the flexdashboard::flex_dashboard output format. You can do this from within RStudio using the New R Markdown dialog:
If you are not using RStudio, you can create a new flexdashboard R Markdown file from the R console. Currently there are two templates:
"flex_dashboard" (basic) and
"flex_dashboard_bslib" (an example of theming with ):
rmarkdown::draft("dashboard.Rmd",
template = "flex_dashboard_bslib",
package = "flexdashboard")