Installing and loading packages

Want to learn more? I recommend working through: R for Data Science, R Cookbook, and R Graphics Cookbook.

# Install the package called "mapdata"
# install.packages("mapdata")
# Load the package called "mapdata"
# library(mapdata)