On Jul 22, 2011, at 11:08 , (Ted Harding) wrote: > On 22-Jul-11 08:02:40, peter dalgaard wrote: >> [much snip] >> >> The .ps.prolog is not in C code but in an R character vector. > > While '?postscript' says (uder "Details:"): > > > Most of the PostScript prologue used is taken from the > R character vector '.ps.prolog'. This is marked in the > output, and can be changed by changing that vector. > (This is only advisable for PostScript experts: the > standard version is in ?namespace:grDevices?.) > > I have not been able to get my hands on that vector in an > R session. What is the incantation for locating it, please?
grDevices:::.ps.prolog as in: .ps.prolog <- grDevices:::.ps.prolog .ps.prolog[39] <- "/setrgb { setrgbcolor } def" postscript() image(volcano) dev.off() -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.