# [R] postscript problems

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Mar 20 18:27:45 CET 2003

```
On Wed, 19 Mar 2003, Charles Taylor wrote:

> I am using R-1.6.1 and when I save a figure using
>
> dev.print(file="figure.eps")
>
> and then insert this figure into a LaTeX file (using
> \includegraphics and the package graphicx) , the figure
> obscures some nearby text (it gets blanked out by "white").
>
> Comparing the postscript file to that produced by an earlier
> version of R I can see the extra lines marked with a star below:
>
>
>
> %%Page: 1 1
> bp
> /bg { 1.0000 1.0000 1.0000 } def  *
> 0.00 0.00 841.89 595.28 r p2      *
> 204.83 90.14 318.71 513.85 cl     *
> 204.83 90.14 318.71 513.85 cl
>
>
> If I remove these 3 lines by hand the problem disappears, but
> surely there is an easier way!?

It works for a particular example on WinNT, R-1.6.2.