Materials for the "Intro to Shiny and R Markdown" 2-day workshop at rstudio::conf 2018.
-
Option 1 - ☁️ RStudio Cloud: bit.ly/shiny-rmd-cloud
-
Option 2 - 💻 Local installation: bit.ly/shiny-rmd-repo
- 00 - Welcome: Getting started instructions + motivation + demo
- 01 - Composing your prose with Markdown:
- Text and headers
- Links and images
- Math text
- Tables
- The Markdown Quick Reference
- Your turn: From plain text to embellished
- 02 - Structuring your analysis with R Markdown:
- Embedding R code -- in chunks and inline
- Chunk and global options
- Other languages
- Output options
- Output formats
- Your turn: Restructure from plain R Markdown to xaringan slides or Tufte document
- Tables
- Bibliography and citation
- Templates
- Parameterized reports
- Dashboards
- Embedding htmlwidgets in documents
- Embedding Shiny apps in documents
- Troubleshooting tips + Q & A
- 04 - Getting started with Shiny:
- High level view
- Anatomy of a Shiny app
- UI / Server
- File structure
- Deploying an app
- 05 - Understanding reactivity:
- Reactivity 101
- Reactive flow
- Implementation
- Render functions
- Interface builder functions
- Tabs
- shinythemes
- What's in a dashboard?
- flexdashboards
- Where to go next?
from_cran <- c("shiny", "rmarkdown",
"DT", "devtools", "flexdashboard", "gapminder",
"rticles", "shinydashboard", "shinythemes",
"tidyverse", "tufte", "xaringan")
install.packages(from_cran, repos = "http://cran.rstudio.com")
library(shiny)
library(rmarkdown)
... # load the remaining packages similarly