Generally we got error in "R tool" while executing "ggplot" command
Following Error occurs :
Error: could not find function "ggplot2"
Solution :
1) Install following packages from R tool console
> install.packages("ggplot2")
2) Load package:
> library(ggplot2)
3) Load csv: (For Example )
df=read.csv("C://amit/R-tool.csv")
attach(df)
ggplot(df, aes(x = ReqBody, y = A_us)) + geom_point() + facet_grid(~ResBody+ResHeader+ReqHeader)
Hope this solution will resolve this error.