[R] writing to a png file with a script

Joerg Maeder maeder at atmos.umnw.ethz.ch
Wed Jul 10 09:27:49 CEST 2002


Hello Stephan,

the problem is, that the x11 don't work in batch mode. So you have to
use bitmap and set type to "png256" or something else (see ?bitmap). For
bitmap youy need a PostScript device, but that is on linux absolutly
normal

gruess

joerg

Stephan Holl wrote:
> 
> Dear R-freaks,
> 
> I am new to R and loke to write plots directly to a file with a script
> in batch-mode.
> 
> the following error occured:
>  # writing section
> > x11()
> Error in x11() : the x11 device has not been loaded
> Execution halted
> 
> I do not know what to do!
> 
> thanks for your help
> 
> cheers
>   steph
> 
> --
> Linux: the operating system with a CLUE...
>          Command Line User Environment.
> --------------------------------------
> Stephan Holl
> GnuPG Key-ID: 11946A09
> ICQ# 117277975
> --------------------------------------
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

-- 
Joerg Maeder    .:|:||:..:.||.::   maeder at atmos.umnw.ethz.ch
Tel: +41 1 633 36 25   .:|:||:..:.||.::   
http://www.iac.ethz.ch/staff/maeder
PhD student at INSTITUTE FOR ATMOSPHERIC AND CLIMATE SCIENCE (IACETH)
ETH ZÜRICH Switzerland
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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