saving png images and X11
0
0
Entering edit mode
Bogdan ▴ 670
@bogdan-2367
Last seen 13 months ago
Palo Alto, CA, USA

Dear all,

I am using a R package that renders the png images. As I am running the command below in a script, I would like to avoid the error below and still be able to save the images. How shall I do it ?

 ChIPQCreport(SAMPLE, 
              reportName = paste(ENTRY, "ChIPQC", sep="."), 
              reportFolder = paste(ENTRY, "ChIPQCreport", sep=".")) Saving 7 x 7 in image 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. Thanks a lot,

Bogdan

ChipQC • 1.1k views
ADD COMMENT
0
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 941 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6