
To install the tidyverse, make sure you have an Internet connection and then launch R Studio. Type (don't copy and paste) the following lines of code at R's command prompt, located in the window named “Console”, and hit return. In the code below, the <- arrow is made up of two keystrokes, first < and then the short dash or minus symbol, -.
my_packages <- c(“tidyverse”, “broom”, “coefplot”, “cowplot”, “gapminder”, “GGally”, “ggrepel”, “ggridges”, “gridExtra”, “here”, “interplot”, “margins”, “maps”, “mapproj”, “mapdata”, “MASS”, “quantreg”, “rlang”, “scales”, “survey”, “srvyr”, “viridis”, “viridisLite”, “devtools”) install.packages(my_packages, repos = “http://cran.rstudio.com”)