Hi, when trying to run the following code and make a plot, the following error appears. Can someone help me?
Install Tidyverse
library(tidyverse)
##Get map data
data(mpg)
##Tables
table(mpg$manufacturer)
prop.table(table(mpg$manufacturer))
##Barcharts
ggplot(mpg,aes(manufacturer)) + geom_bar()
ERROR
Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
polygon edge not found
In addition: There were 50 or more warnings (use warnings() to see the first 50)