[R] To execute jpeg() under a remotely accessed Linux machine(via non-X-window emulation mode)

Akio Sone asone at latte.harvard.edu
Wed Apr 4 20:10:17 CEST 2001

Dear R users:

When I tried to execute R(ver. 1.2.1)'s jpeg() command on a remotely
accessed (via the telnet line mode, NOT some X-window-emulated mode such as
tridiaVNC viewer for windows ) Linux machine,

platform: "i686-pc-linux-gnu"
arch    : "i686"
os      : "linux-gnu (RedHat ver.6.2)"
system  : "i686, linux-gnu"
major   : "1"
minor   : "2.1"
year    : "2001"
month   : "01"
day     : "15"

I got the following error message:

Error in X11(paste("jpeg::", quality, ":", filename, sep = ""), width,  :
        unable to start device JPEG

However, if I use tridiaVNC viewer, jpeg() works as expected.

My question is whether or not we can execute jpeg() command from a
non-X11-window(-emulated) window? If not, is there any workaround to
generate a jpeg file?

Thank you for your assistance.

Akio Sone
Research Fellow
Harvard-MIT Data Center
e-mail: asone at latte.harvard.edu
phone: (617) 495-5792

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list