saving . . .savedGGPLOT2 has been deleted.GGPLOT2 has been hidden .
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">Sir,I have installed the ggplot2 package and done the library function on these but when trying to do a ggplot function code . I continually get an error saying could not find function "ggplot". Have tried updating all my packages but that has not helped.Please help....</span>
If you have successfully loaded the "ggplot2" library before calling the "ggplot()" function by executing the command "library(ggplot2)", then you should not be getting any such error. Make sure that you are running the command "library(ggplot2)" before running the code containing "ggplot()" function. Also, you can try installing the package again with the "dependencies" argument set to "TRUE" in the "install.packages()" function as "install.packages("ggplot2", dependencies = T)."
Login to add comment