Re: [R] unable to start device JPEG in linux

From: Bachas <cbachas_at_hotmail.com>
Date: Tue, 12 Aug 2008 05:34:28 -0700 (PDT)

I have the same problem. I am using R on our bioinformatics server. From what I have read jpeg() needs to use a widows graphics device like X11 to be able to generate a jpeg file.
I am also very curious to see if anyone knows a solution, now I need to use pdf() of ps() which is more time consuming and uses more diskspace.

> jpeg()

Error in X11(paste("jpeg::", quality, ":", filename, sep = ""), width, : unable to start device JPEG
In addition: Warning message:
In jpeg() : unable to open connection to X11 display ''
> capabilities()

    jpeg      png    tcltk      X11 http/ftp  sockets   libxml     fifo
   FALSE    FALSE     TRUE    FALSE     TRUE     TRUE     TRUE     TRUE
  cledit    iconv      NLS  profmem
    TRUE     TRUE     TRUE    FALSE


Haiyan Pan wrote:
>

> r-help´╝î
> When I want to use jpeg() in R-2.1.1 which is installed in linux platform
> to generate a jpeg file, the error occurs as following:
>
> > jpeg()
> Error in X11(paste("jpeg::", quality, ":", filename, sep = ""), width, :
> unable to start device JPEG
> In addition: Warning message:
> unable to open connection to X11 display ''

>> capabilities()  

> jpeg png tcltk X11 http/ftp sockets libxml fifo
> FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE
> cledit IEEE754 iconv
> TRUE TRUE TRUE
>
> X11 device is existed in this machine, would you suggest me how to resolve
> this problem.
> Many thanks for your help and it will be greatly appreciated!
>
>
>
> = = = = = = = = = = = = = = = = = = = =
>
> Haiyan Pan
> hypan_at_scbit.org
>
> Tel: 021-64363311-123
> Shanghai Center for Bioinformatics Technology
> Floor 12th,100# QinZhou Road
> Shanghai,China,200235
>
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
-- 
View this message in context: http://www.nabble.com/unable-to-start-device-JPEG-in-linux-tp3569841p18943452.html
Sent from the R help mailing list archive at Nabble.com.

	[[alternative HTML version deleted]]


______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Received on Tue 12 Aug 2008 - 14:59:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Aug 2008 - 15:33:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive