I just downloaded R and RStudio for Mac (R version 4.0.0 for my MacOC Mojave version 14.3.6) and I was trying to install a couple of common packages such as ggplot2 and I got this message:
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/ggplot2_3.3.0.tgz'
Content type 'application/x-gzip' length 4012531 bytes (3.8 MB)
downloaded 3.8 MB
The downloaded binary packages are in
But then when I tried to use the function ggplot, it gave me this message:
Error in ggplot(data = mydata, aes(x = carat, y = price)) :
could not find function "ggplot"
How can I remedy this issue?