[R] postscript problems

Charles Taylor charles at maths.leeds.ac.uk
Wed Mar 19 10:26:37 CET 2003


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!?



More information about the R-help mailing list