From: Uwe Ligges > > Rainer M Krug wrote: > > > Hi > > > > I am using R 2.2.1 under Linux (SuSE 10) and would like to > know if it > > is > > possible to create graphs, i.e. > > > > jpeg(filename=fn) > > try( coplot( mor$I_Morisita ~ mor$Year | mor$RunStr, > > show.given=FALSE) ) > > dev.off() > > > > from a text console? > > It gives me an error message on the jpeg() command: > > > > Error in X11(..snip..) unable to start device jpeg > > In addition: warning message: > > unable to open connection to X11 display. > > > > Are there any ways to create the plot and save it into a jpeg file > > from > > a text console? > > > Via bitmap() (i.e. postscript with ghostscript postprocessing).
Or alternatively, look in the list archive about using xvfb; e.g., http://finzi.psych.upenn.edu/R/Rhelp02a/archive/63018.html Andy > Uwe Ligges > > > > Thanks, > > > > Rainer > > > > > > > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
