[Rd] Problem with pdf graphics device

From: Dominick Samperi <djsamperi_at_earthlink.net>
Date: Thu, 05 Nov 2009 12:15:28 -0500


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.



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 05 Nov 2009 - 17:18:47 GMT

This archive was generated by hypermail 2.2.0 : Thu 05 Nov 2009 - 18:10:20 GMT