Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in RStudioGD() : Graphics backend require a change from default to AGG ( or Cairo when R is compiled with the --with-cairo #2

Open
DininduSenanayake opened this issue Aug 1, 2024 · 2 comments

Comments

@DininduSenanayake
Copy link
Collaborator

Similar to latter part of nesi/eri-ood-rstudio-server-app#2,

> plot(gg)
Error in RStudioGD() : 
  Shadow graphics device error: r error 4 (Error : evaluation nested too deeply: infinite recursion / options(expressions=)?
)
In addition: There were 50 or more warnings (use warnings() to see the first 50)

Same fix .i.e Change the Graphics backend on RStudio with Tools > Global options > Graphics > change Backend to AGG
Screenshot from 2024-08-02 08-39-31

@DininduSenanayake
Copy link
Collaborator Author

Graphics backend change is a one-off. Alternatively, we can patch SessionGraphics.cpp to make AGG default as well but it's probably better off we leave users to decide which backend they prefer, from AGG to Cairo

@MattBixley
Copy link

retested Sept 18th - status and solution still the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants