[R] Create graphs from text console

Rainer M Krug rkrug at sun.ac.za
Thu Mar 23 14:59:55 CET 2006


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?

Thanks,

Rainer



-- 
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT)

Department of Conservation Ecology
University of Stellenbosch
Matieland 7602
South Africa

Tel:        +27 - (0)72 808 2975 (w)
Fax:        +27 - (0)21 808 3304
Cell:        +27 - (0)83 9479 042

email:    RKrug at sun.ac.za
           Rainer at krugs.de




More information about the R-help mailing list