saving . . . saved GGPLOT2 has been deleted. GGPLOT2 has been hidden .
GGPLOT2
Title
Question
<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>

R Introduction-to-ggplot2 08-09 min 10-20 sec 09-07-21, 1:32 p.m. sristyria@gmail.com

Answers:

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)."
09-07-21, 2:07 p.m. chrl3hr5@gmail.com


Log-in to answer to this question.