[R] Printing graphics

Bill Simpson wsi at gcal.ac.uk
Wed Sep 27 10:38:03 CEST 2000


> How can I print graphics during R sessions (under Linux, in a
> non-post-script printer)? I have tried the command -dev.print(device=X11)-
> without success.
Well I assume that you have ghostscript installed. That simulates
postscript, so the fact that you have a nonpostscript printer is
irrelevant.

Here is a plot printing example
x<-1:10
y<-x
plot(x,y)
dev.print(width=5,height=5, horizontal=FALSE)

If this doesn't work there is a problem with your printer set-up I'd say.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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