Trying to create a ggplot using standard diamonds data setup and the code runs without errors but the plot does not display.
I've tried re-starting RStudio, running dev.new() and dev.off() but the command ggplot(diamonds) still does not work
Code run:
install.packages("ggplot2")
library(ggplot2)
ggplot(diamonds)
System Information:
- RStudio Edition: (Desktop)
- RStudio Version: 1.4.1106
Referred here from support.rstudio.com