Step-by-step lesson · RStudio
How to install and load a package in RStudio
- Type install.packages("ggplot2") in the Console
- Press Return and wait
- Type library(ggplot2) to load it
- Load it again each time you start RStudio
More in RStudio
- How to run code in the console and in a script in RStudio
- How to make a plot with ggplot2 in RStudio
- How to filter and select data with dplyr in RStudio
- How to run a t-test in RStudio
- How to reshape data with tidyr in RStudio
- How to set the working directory in RStudio