Welcome to the IDRE Introduction to R Seminar!
Before beginning the seminar, please open RStudio (or R) and run the following code:
install.packages("dplyr", dependencies=TRUE) install.packages("ggplot2", dependencies=TRUE) install.packages("rmarkdown", dependencies=TRUE) install.packages("shiny", dependencies=TRUE)
Introduction to R Seminar: Left-click the link to open the presentation directly. To download the presentation with all images (so you can look at it offline), 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” (Note: this will download the webpage and a folder of images and style files).
Use any web browser (Chrome, Firefox, etc.) to view the seminar. Once it is open, use the following keys to alter the display:
- use arrow keys, mouse click, or spacebar to advance slides
atoggles between slide-show view and handout view (view all slides at once)
kto disable advancing slides with mouse-click (if you need to copy-paste code, for example)
bto make the font bigger and smaller
F11to go to full-screen and back
(Alternative, flat (no slides) version of the presentation: Introduction to R seminar Flat).
R code for the seminar: This seminar is intended to be interactive, where you will be writing R code yourself when prompted. The correct coding specification for each prompt is in this file. We encourage you to look at this file only when needed.