Sometimes R gives the error message Error in…

Sometimes R gives the error message.

Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype,  : 
  unable to start device X11cairo

Here is the fix.

Sys.setenv("DISPLAY"=":0.0")

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *