nesi / nesi-ood-rstudio-server-app

OOD RStudio-server for app on Analysis Environment (Beta)
MIT License
0 stars 0 forks source link

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 1 month ago

DininduSenanayake commented 1 month ago

Similar to latter part of https://github.com/nesi/eri-ood-rstudio-server-app/issues/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 commented 1 month ago

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 commented 1 day ago

retested Sept 18th - status and solution still the same