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

Hi,
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!
thanks.

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

install.packages("ggplot2")
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.