From marc_schwartz at me.com  Thu Nov  5 18:26:42 2009
From: marc_schwartz at me.com (Marc Schwartz)
Date: Thu, 05 Nov 2009 11:26:42 -0600
Subject: [Rd] Problem with pdf graphics device
In-Reply-To: <4AF30830.8040806@earthlink.net>
References: <4AF30830.8040806@earthlink.net>
Message-ID: <602D18E7-F451-4536-8C36-ECB62E4070FA@me.com>


On Nov 5, 2009, at 11:15 AM, Dominick Samperi wrote:

> This code does not work as expected:
>
> pdf("foo.pdf")
> x <- 1:20
> y <- sin(x)
> plot(x,y)
> dev.off()
>
> Instead of little circles at the points I get the letter 'q', and this
> happens for the default pch, pch=1, pch=21. If I set pch='o' I
> get the circles, but of course they are not centered. The problem
> occurs with pdf viewer and with printing under Linux,
> R 2.10.0.
>
> Everything works as expected if I use other display devices.


See ?pdf and read through the "Note" section.

This was just covered on r-devel only days ago:

   https://stat.ethz.ch/pipermail/r-devel/2009-October/055357.html

HTH,

Marc Schwartz



[Rd] Problem with pdf graphics device
Marc Schwartz