Currently I am working on the R Studio Pro server from my university. I am trying to plot the following using the library ggplot2:
starttijdstipvanladenvergelijken %>%
ggplot(aes(x=StartConnectionHour, y = perc)) +
geom_line() +
geom_point()
But unfortunately, I get this error:
Error in RStudioGD() : Shadow graphics device error: r error 4 (R code execution error) In addition: Warning message: In grDevices:::png("/tmp/Rtmpn4W7ks/5fd6f31151e54efab921f12ea1e3591b.png", : unable to open connection to X11 display ''
PS: When I switch from R version 3.6.3 to 3.6.1, I don't get an error, only when I am trying to plot the graph in R version 3.6.3