error in library(ggplot2) : there is no package called â??ggplot2â??

error in library(ggplot2) : there is no package called â??ggplot2â??

Hi,

I am trying to use ggplot2 library in my R Program but it is giving following error:

error in library(ggplot2) : there is no package called â??ggplot2â??

How to resolve it?

Thanks

View Answers

January 26, 2018 at 1:27 AM

Hi,

error in library(ggplot2) : there is no package called "ggplot2"

comes when ggplot2 library is not installed. This library is not distributed as part of default installation.

Use the following command to install it:

install.packages("ggplot2")

Thanks


January 26, 2018 at 1:29 AM

Hi,

Check more details at: r ggplot2 install

Thanks









Related Tutorials/Questions & Answers:

Ads