Hello,
I've been struggling with RStudio lateley. Whenever I want to save a plot (even the simplest ones) as a jpg, I get an "R code execution error".
Given that it worked before my PC had to restart for an update, I already tried shutting down and restarting my PC, as well as terminating and restarting R Sessions, I deleted R and installed it again, nothing helped and I don't know why.
I created a simple example with:
x<-c(1,2,3,4)
y<-c(2,4,6,8)
plot(x~y)
And the plot shows without Problems. But when I click "Export"->"Save As Image", without changing anythig I get:
Clicking "Save" just results in a notification that says: "R code execution error"
Please, if anyone knows how to fix this, help me. I'm going crazy