Base graphics in R are a bit kludgy.
I prefer to use the
This package is part of a larger group of packages called
tidyverse. The easiest thing to do install the
tidyverse rather than each package separately.
You need to install this package using the standard package manager: Tools > Package Manager. Then you will load the package using the command
ggplot2 provides a convenient function called
qplot() for making quick plots that don't require a lot of customization.