Description of issue -
I have downloaded R and Rstudio on my work laptop and am trying to use ggplot for data visualizations. When I try to plot anything with ggplot, the resulting plot does not look like a ggplot, it looks like a regular R plot.
For instance, if I did
p <- ggplot(data=mtcars, aes(x=wt, y=mpg)) + geom_point()
The resulting plot would look like if the code had been this
There is no gray background or gridlines like you would expect to see in a ggplot. I tried uninstalling and reinstalling the package but nothing has worked.
Referred here from support.rstudio.com