[R] Create graphs from text console
Uwe Ligges
ligges at statistik.uni-dortmund.de
Thu Mar 23 17:11:25 CET 2006
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).
Uwe Ligges
> Thanks,
>
> Rainer
>
>
>
More information about the R-help
mailing list