[Rd] png error

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Sep 9 21:59:22 CEST 2026


On Wed, 09 Sep 2026 14:51:02 +0000
Terry Therneau via R-devel <r-devel using r-project.org> wrote:

>   Additional capabilities:     PNG, JPEG, TIFF, NLS, cairo, ICU

This says that you have working "cairo", but R also needs "pangocairo"
for png(type="cairo") to work; the configure script doesn't mention the
latter in the final output. Does 'pkg-config --path pangocairo' produce
any output? R remembers the result of this configure-time test and uses
.Call(grDevices:::C_cairoProps, 2L) to remind itself when it starts up.
If there's no output from pkg-config or cairoProps returns FALSE, make
sure you have libpango1.0-dev installed.

As for why doesn't the X11 device seem to work with Xvfb... there's
little error checking in tools:::start_virtual_X11_fb, so even if Xvfb
doesn't run at all, R still sets the DISPLAY environment variable and
remembers a "PID". Hence the question whether there is a socket in
/tmp/.X11-unix with the same number as in the DISPLAY, or whether
'xvfb-run R CMD check *_tar.gz' works.

-- 
Best regards,
Ivan



More information about the R-devel mailing list