Brinkley, I am using R studio with R version 4.2.0 (2022-04-22 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19045) I cannot reproduce your error messages. That being said, you might want to look at: ? https://github.com/rstudio/rstudio/issues/2214 https://stackoverflow.com/questions/19513705/error-in-rstudiogd-shadow-graphics-device-error-r-error-4-r-code-execution Hope this helps! Thomas Subia