Error Shadow graphics device error r error 4 R code execution error when trying to use plot and ggplot

0 votes
I updated my R to the latest version of 3.4.2, and when I used plot() or ggplot() to draw graphics, RStudio showed the message:

Error in RStudioGD() : Shadow graphics device error: r error 4 (R code execution error)
Nov 8, 2018 in Data Analytics by Ali
• 11,360 points
3,563 views

1 answer to this question.