[R] Exporting graphics to PS or EPS

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Aug 20 12:49:47 CEST 2000


Peter Kleiweg <kleiweg at let.rug.nl> writes:

> Prof Brian D Ripley skriver...
> 
> > The critical point about EPSF is that it bans some of the PS
> > operators, and unfortunately R (up to and including 1.1.1) got
> > that slightly wrong.
> 
> Does this mean that the current version of R doesn't produce
> valid EPS? I haven't tried it yet, but that would severly limit
> the use of R to me. I allways use EPS to import graphics into
> LaTeX.

There's a problem with the clipping code. It's not like it is breaking
inclusion of graphics in LaTeX documents wholesale, or many of us
would have detected the problem a long time ago.

Basically, it will not work to include a clipped portion of an R graph
- you just get the entire graph printed anyway because R will reset
the clipping itself. It will also undo any clipping in effect for
other reasons on that page, which is in principle worse, but haven't
bitten anyone yet.

The current code in the development version should be somewhat better,
although I'm still not quite happy with the code.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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