Question: how to install ggplot in rstudio?
Answer: Open a web browser and go to http://cran.r-project.org and download and install it. Also helpful to install RStudio (download from http://rstudio.com) In R, type install. packages("tidyverse") to install a suite of usefull packages including ggplot2.