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 -------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/20020709/6d6691ab/attachment.bin
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!Use bitmap(), for details see ?bitmap. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Stephan Holl wrote:>I guess you are using function png. This will not work without a X-server. Try function "bitmap" instead.> 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-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._