-
First you need to install R. For writing and executing R/RMarkdown code I recommend installing RStudio IDE as well. It is specalized to work with R and all connected with R. The instalation of R and RStudio is pretty easy:
- Install a pre-compiled binary of R for your OS from here: https://cloud.r-project.org
- Install RStudio Desktop.
- Update your R packages: write
update.packages(ask = FALSE, checkBuilt = TRUE)
in R terminal.
-
Install RMarkdown and Shiny package
install.packages("shiny")
install.packages("rmarkdown")
- Now everything is set to create your first RMarkdown + Shiny interactive document!
Note:
- I recomend to create one shiny application per one interactive snippet.