Error installing ggplot2 in rstudio

ggplot2
rstudio

#1

library(ggplot)
Error in library(ggplot) : there is no package called ‘ggplot’


#2

Hmm. It looks like the munsell package didnt load properly (a few lines below ggplot2 highlight), so that might hold things back.

Also, the library is ggplot2, while the main function is ggplot.


#3

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

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


#4

Tried installing munsell still no luck - below is snapshot what i am getting right now -


#5

I just uninstalled R v3.2 and rstudio
reinstalled latest version of R and rstudio and it fixed the issue
Now i can install packages including ggplot2