Welcome to the R Markdown Basics Seminar!
Requirements
Before beginning the seminar, please make sure you have R and RStudio installed.
Please also make sure to have the following R packages installed, and if not, run these commands in R (RStudio).
install.packages("rmarkdown", dependencies=TRUE)
install.packages("tidyverse", dependencies=TRUE)
You will also need to have some sort of TeX distribution (e.g. MikTeX) on your computer to compile the LaTeX documents in this seminar. If you do not believe you have TeX installed, you can install a small, but sufficient version of it through R by running:
install.packages("tinytex", dependencies=TRUE)
Then you will need to run the following in RStudio to install TeX on your computer (this may take several minutes):
tinytex::install_tinytex()
You should restart RStudio afterwards before beginning the seminar.
Practice Files
The seminar also uses 3 files to practice R Markdown syntax. Please download these to a directory you can find on your computer. You can download them all at once as a zip, or individually (right-click to download):
- Zip file of all data files (contains the 3 files below)
- sleep_study.rmd
- mileage.rmd
- txhousing_sales.rmd
Seminar
R Markdown Basics Seminar: Left-click the link to open the presentation directly. To download, open the presentation (by left-clicking), then right-click in the presentation, select “Save As”, and then make sure you save as type “Webpage, Complete”. Use any web browser (Chrome, Firefox, etc.) to view the seminar.
Download a Zip file containing the source files for the presentation slides.