[R] jpeg() and JGR

Michael Kubovy
2006-08-10T13:33:28Z

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/