Printing from X11 window (was: Re: [R] Working with R batch)
Stuart Luppescu
s-luppescu at uchicago.edu
Thu Apr 6 16:26:08 CEST 2000
On 06-Apr-2000 Prof Brian D Ripley wrote:
> If you want a hardcopy of the plot you can use any means you like, for
> example to print an x11() device's window via your window manager, or use
> dev2bitmap to grab the plot as a bitmap. Basically for R _on Unix_ the
> common format for printable plot files is PostScript, but there is also a
> pictex device. (A direct PDF device is at least a dream, and Windows has
> other devices based on its GDI and producing bitmap formats such as PNG and
> JPEG. No one has asked for a PCL (LaserJet) interface, which older programs
> such as S-PLUS support. People have talked about fig and similar formats
> too.)
I would really like to know how to do this. One thing (maybe the only thing) I
miss about working with S-Plus is the ability label points interactively using
identify() in X11() and then produce a postscript plot of the result for
printing just by clicking on the ``PRINT'' button in the window. Prof. Ripley
mentions printing the contents of the window using your window manager, but my
window manager doesn't permit this. Dev2bitmap is not an option, as I need
postscript. I like pictex, but I don't see how to output the contents of an X11
window as pictex. Isn't there a way to do this?
(I'm running R 1.0.0 on RedHat Linux 6.2 (intel).)
______________________________________________________________________
Stuart Luppescu -=-=- University of Chicago
$(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu
http://www.consortium-chicago.org/people/sl/sl.html
ICQ #21172047 AIM: psycho7070
Rule #1:
The Boss is always right.
Rule #2:
If the Boss is wrong, see Rule #1.
>> Sent on 06-Apr-2000 at 09:07:21 with xfmail
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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