I am currently using Ubuntu14.04. I installed the ggplot2 package in R from the terminal using
Then I typed
and got the error saying
Error in library(ggplot2) : there is no package called ‘ggplot2’
I am a Windows user and am using R in Ubuntu for the first time. How to load a packages’ library in Ubuntu?