This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in RStudioGD() : Shadow graphics device error: r error 4 (R code execution error)

Hi,

I tried to make plots (scatterplots, box plots etc) in RStudio, and I got this message:

Error in RStudioGD() : 
  Shadow graphics device error: r error 4 (R code execution error)

Can someone help me, please?

RStudio Version 1.1.383

rstudio

how did you install the R? via conda?

1 answer

See:

https://support.rstudio.com/hc/en-us/community/posts/210500308-Need-help-with-Error-in-RStudioGD-Shadow-graphics-device-error-r-error-4-R-code-execution-error-

It appears that your R was built without some basic graphics support.

Thank you for the link. I installed some needed graphics supports (e.g. Cairo) but I still it does not work..

It might be time to consider working with IT staff and/or RStudio. I'm not sure how much more we can help here....

Log in to answer this question.