[R] saving png images and X11

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Sat Feb 26 17:19:00 CET 2022


On Fri, 25 Feb 2022 04:33:38 -0800
Bogdan Tanasa <tanasa using gmail.com> wrote:

> Error in png_dev(..., res = dpi, units = "in") : X11 is not available
> 
> Shall I add the option :
> 
> options(bitmapType='cairo')
> 
> the png images are skipped and not saved on the disk.

Is this a question or a statement that png('file.png', type = 'cairo');
plot(1,1); dev.off() doesn't produce any files for you?

What's the output of capabilities() and sessionInfo() in this build of
R?

> 	[[alternative HTML version deleted]]

P.S. Please compose your messages in plain text. Since this mailing
list strips the HTML parts of your messages, we only get the plain text
part automatically produced by your mailer, some of it mangled quite a
bit.

-- 
Best regards,
Ivan



More information about the R-help mailing list