Materials for the DataPhilly Fall Workshop: 'From Stored Data To Data Stories'
Greetings / Salvete / Schöne Grüße / Salutations / Pozdrowienia
- Required software
- R: Install the latest version of R from the Comprehensive R Archive Network (CRAN).
- RStudio: Install the RStudio integrated development environment, available from (RStudio, Inc.)
- Python & Jupyter Notebook: Install Python and the Jupyter Notebook (and more of the Python machine learning ecosystem) by installing Anaconda.
- LaTeX: LaTeX needs to be installed to generate PDF output. It's recommended that R Markdown users who have not installed LaTeX install TinyTeX.1 To do so, execute the following commands (in an R session):
install.packages("tinytex")
library(tinytex)
tinytex::install_tinytex()
- Required packages
- R: I'll be making use of pacman, a package management tool for R. This tool will load libraries and - conveniently - install those libraries that need to be installed.
- Python:
-
A few test cases (if these run successfully, you're good-to-go)
- HTML
- Open Simple_HTML_Presentation.Rmd in RStudio
- 'Knit' Simple_HTML_Presentation.Rmd
- The output should match Simple_HTML_Presentation.html
- Open Tufte_PDF_Example.Rmd in RStudio
- 'Knit' Tufte_PDF_Example.Rmd
- The output should match Tufte_PDF_Example.pdf
1: Xie, Yihui, Joseph J. Allaire, and Garrett Grolemund. R markdown: The definitive guide. CRC Press, 2018.