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 > [EMAIL PROTECTED] > > Tel: 021-64363311-123 > Shanghai Center for Bioinformatics Technology > Floor 12th,100# QinZhou Road > Shanghai,China,200235 > > > ______________________________________________ > [EMAIL PROTECTED] 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@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.