I just installed Rstudio but unable to plot anything.
and I got this error:
Error in RStudioGD() :
Shadow graphics device error: r error 4 (R code execution error)
In addition: There were 50 or more warnings (use warnings() to see the first 50)
1: In grDevices:::png("/tmp/RtmpPkPH0s/2014fedfd6c041009a185a492193d67e.png", ... :
failed to load cairo DLL
P.S. the same code works fine in R terminal.
Any ideas or helps would be appreciated.