I\'m trying to create a plot with a semi-transparent confidence region around the regression line:
library(car)
library(ggplot2)
library(effects)
mod <- lm(s
I had exactly the same problem as the OP, but in my case setting options(bitmapType="cairo")
did not solve the problem.
In my case the problem was caused by the fact that I compiled R manually from source without the --with-cairo
configure option (or rather: my system was lacking the necessary libcairo2-dev package, the --with-cairo
did not have any effect). Recompiling R with proper cairo support fixed the issue. It now even works although getOption("bitmapType")
is still set to `"Xlib".