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

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Apr 4 21:33:23 CEST 2001


On Wed, 4 Apr 2001, Akio Sone wrote:

> 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?

No (jpeg, uses an Xserver), bitmap().

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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