R freezing when I create a simple plot


My issue is similar than the one discussed:

But it is not working the solution. When I try to run

x <- c(1,2,3)
y <- c(1,2,3)


It freezes forever.
I tried to run it changing the parametres at edit /preferences/general/graphics/backened. and change the default by Cairo, but when I try to plot(x,y), this is the error:

Error in RStudioGD() :
Shadow graphics device error: r error 4 (Error : C stack usage 7953880 is too close to the limit
In addition: There were 50 or more warnings (use warnings() to see the first 50)

I think it is something about the configuration parametres in R studio, but not idea.


in R studio you can try different backends. look in your Tools menu, for Global Options > General > Graphics


Hello! Just un update:

I tried to use others and it did not work. However, I uninstall and re-install r and R studio....and now it works!

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.