plot() after split.screen() on postscript() Device produces inconsistent PostScript file (PR#378)

About this list Date view Thread view Subject view Author view Other groups

Subject: plot() after split.screen() on postscript() Device produces inconsistent PostScript file (PR#378)
boble@usa.net
Date: Sat 18 Dec 1999 - 06:32:25 EST


Message-Id: <199912172032.VAA05044@pubhealth.ku.dk>

Full_Name: Boris Leykekhman
Version: 0.90.0
OS: Red Hat Linux 6.1
Submission from: (NULL) (131.136.242.1)

Problem:
Plot() after split.screen() on postscript() Device produces PostScript file,
which crashes PS interpretter with error message:
“Error: /undefined in fg”
To reproduce:
#----- Start R code
postscript("test.ps")
split.screen(c(2,2))
screen(1)
plot(c(1,2,3,4))
dev.off()
#----- End R code
Workaround:
Inserting the line with definition of “fg”, taken from the correct PS file,
solved my problem.
The line is:
“/fg {0.0000 0.0000 0.0000} def fg rgb”
It was inserted after:
“%%EndProlog2”

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST