loading ggplot2 (colorspace, actually) opens up x11

前端 未结 1 1130
难免孤独
难免孤独 2021-01-03 03:24

Whenever I so much as load ggplot2, X11 jumps into action (hogging resources).

library(ggplot2)

Is what I do, and boo

1条回答
  •  清酒与你
    2021-01-03 03:44

    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")
    

    0 讨论(0)
提交回复
热议问题