Whenever I so much as load ggplot2
, X11 jumps into action (hogging resources).
library(ggplot2)
Is what I do, and boom – X11
The thing is, I don't want to use X11, nor do I want it to be open – I want to use Quartz and the build-in graphics in RStudio.
Whenever I close X11, so goes my R session.
My setup:
This problem occurs:
How did I mess this up, and how I can I stop this madness?
Update: Turns out (see comments), the package colorspace in version 1.2-5 is at fault, not ggplot2.
Update: The problem seems to be solved as of colorspace version 1.2-6.
As mentioned in the comments and the github issue in the ggplot2 page, this is cause by the package colorspace
version "1.2-5". You can wait to a new version of the package with a fix. Or, a temporary solution is to install a previous version of colorspace
. If you have the devtools
package installed you can easily do:
library(devtools)
install_version("colorspace", "1.2-4")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With