Installing R and RStudio

We’ll be using R and RStudio locally (installed on your computer). RStudio has a cloud-based version, but it now costs money, so I’m recommending that we all work on our own computers. If you don’t have a computer where you can install software (e.g., a Chromebook) please let me know and I’ll help you figure out another option.

There are several steps to this process, so I made a YouTube video to walk students through it. The video was for my STAT 320 class, but it should be almost exactly the same for this course.

Install whatever packages you need to do your work. I’ve made a big list of potential packages, which you may or may not need all of. To install them, run this entire piece of code:

install.packages(c("tidyverse", "babynames", "broom", "coefplot", "cowplot", "devtools", "drat", "fueleconomy", "fivethirtyeight", "formatR", "gapminder", "GGally", "ggforce", "ggraph", "ggrepel", "ggridges", "graphlayouts", "gridExtra", "here", "hexbin", "interplot", "janitor", "margins", "mgcv", "maps", "mapproj", "nycflights13", "RColorBrewer", "rmarkdown", "sf", "skimr", "usethis", "viridis", "viridisLite"))

I’m happy to help troubleshoot if you run into any issues!