Re: [R] R 2.70 + ps2pdf14

From: ivo welch <>
Date: Tue, 20 May 2008 16:49:03 -0400

thanks. I am now using R-patched 2008-05-18 r45723 . This is probably intended, but if not, I wanted to note it briefly: on the pdf output device, symbol 1 is always black, no matter what color is selected. symbols 10 and 13 contain black. symbol 19 is the replacement for symbol 1 that takes on the color.

forgive the semicolons:

pdf.start("test"); # just encapsulates what you would expect. NM=25;
plot( 0, type="n", ylim=c(0,6), xlim=c(0,NM), xlab="0-8", ylab="0-5" ); points( 1:NM, rep(1,NM), pch=1:NM, col="black"); points( 1:NM, rep(2,NM), pch=1:NM, col="green"); text( 1:NM, rep(3,NM), 1:NM, col=1:NM, cex=0.75); pdf.end();


On Sun, May 18, 2008 at 12:51 PM, hadley wickham <> wrote:
>> if developers from the R graphics group are reading this, given that
>> this strange output is not just my imagination, maybe it would be
>> worthwhile to see if the R output pdf could be made more robust to
>> avoid this "feature." I stumbled onto it deep in a program, and spend
>> an afternoon distilling it down to the R script that I posted. It was
>> quite puzzling.
> Have you tried R-patched? I think Brian Ripley fixed this some days ago.
> Hadley
> --
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 20 May 2008 - 20:51:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 20 May 2008 - 21:30:59 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive