Skip to content

Failing to create PNGs from native KEGG pathways #29

Description

@nbartonicek

Good day,
I'm experiencing issues while trying to create PNG from native KEGG pathways, both through R studio or through the terminal.

If working from Rstudio, I'm getting the following error:
Error in .External2(C_X11, paste0("png::", filename), g$width, g$height, :
unable to start device PNG
In addition: Warning message:
In png(img.file, width = width, height = height, res = res) :
unable to open connection to X11 display ''

If working from the terminal, the error is:
Warning message:
In png(img.file, width = width, height = height, res = res) :
type = "cairo" is unavailable. trying "Xlib"
... after which nothing happens, and the png file is not produced.

Has anyone experienced something similar? Any help greatly appreciated.

Best,

Nenad

Session info below:
R version 4.3.2 (2023-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
pathview_1.42.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions