Error installing ggplot2 in rstudio

I'm pretty sure you had an issue that all of us had:

If you try running the command again, it should work now.