[R] jpeg() and JGR

From: Michael Kubovy <kubovy_at_virginia.edu>
Date: Thu 10 Aug 2006 - 23:33:28 EST


Dear R-helpers,

In JGR:
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 ''

> sessionInfo()

Version 2.3.1 (2006-06-01)
powerpc-apple-darwin8.6.0

attached base packages:

[1] "grid"      "datasets"  "methods"   "stats"     "graphics"   
"grDevices" "utils"     "base"

other attached packages:
     R2HTML      Hmisc    effects    foreign    lattice        
MASS        JGR     JavaGD      rJava
     "1.57"   "3.0-12"    "1.0-8"   "0.8-15"  "0.13-10" "7.2-27.1"     
"1.4-2" "0.3-3" "0.4-3"

But in the R Os X GUI, the command works, and produces Rplot001.jpeg

> sessionInfo()

Version 2.3.1 (2006-06-01)
powerpc-apple-darwin8.6.0

attached base packages:

[1] "methods"   "stats"     "graphics"
[4] "grDevices" "utils"     "datasets"
[7] "base"

other attached packages:
foreign R2HTML
"0.8-15" "1.57"



Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766

WWW: http://www.people.virginia.edu/~mk9y/

R-help@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 and provide commented, minimal, self-contained, reproducible code. Received on Thu Aug 10 23:37:52 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 11 Aug 2006 - 00:19:16 EST.

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