error: "package ‘ggpolt2’ is not available for this version of R"

i need to use "ggplot2" but can't instal it.
I'm using mac, I have the latest R version installed, yet when i type install.packages("ggpolt2") it returns:
Warning in install.packages :
package ‘ggpolt2’ is not available for this version of R

I don't understand why, and would love to get your help!

It's not ggpolt2. You have spelt it incorrectly. Use

1 Like

Typo. It’s ggplot2. I transpose like that all the time

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.