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 have faced similar problems while running packages 'dismo' and 'ggplot2' in RStudio. As this problem started after I installed 'Ghostscript' into my Window_64, I removed all these folders from my computer in order to check if its works normally. RStudio worked normally without any error after removing 'Ghostscript'. However, by using options(bitmapType="cairo") as per above postings, I could resolve the error, but I had to rerun for every time for normal functioning of RStudio.