[R-SIG-Mac] Slow Drawing Fix - is there now a different problem?

Bryan Hanson hanson at depauw.edu
Wed Apr 30 08:59:10 CEST 2008


Hey Folks, I¹m rather tired tonight, but I think I¹m really seeing what I¹m
about to report. I was working on some plots (on the Quartz device), and ran
into what seemed to be discontinuities in what should have been nice smooth
plots.  Then, I tried the following:

> plot(c(1:100), c(1:100)) # plot of individual points looks OK
> plot(c(1:100), c(1:100), type = "l") # produces a line with breaks/gaps
> plot(c(1:100), c(1:100), type = "l", lty = 3) # dotted line with breaks/gaps

If instead I direct this to a pdf file with, e.g.,

> pdf("test.pdf")
> plot(c(1:100), c(1:100), type = "l", lty = 3)
> dev.off()

There are no gaps in the "line".

Am I just too tired to see what's going on here, or was a new problem
introduced along with the fix for the slow drawing problem in the patched R
2.7.0?

Thanks, Bryan
*************
Bryan Hanson
Professor of Chemistry & Biochemistry
DePauw University, Greencastle IN USA

My info (this should be the R version that draws more quickly, also OS
10.4.11)
> sessionInfo()
R version 2.7.0 Patched (2008-04-28 r45540)
i386-apple-darwin8.10.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] datasets  grid      utils     grDevices graphics  stats
[7] methods   base 

other attached packages:
 [1] DescribeDisplay_0.1.3 ggplot_0.4.2          RColorBrewer_1.0-2
 [4] reshape_0.8.0         MASS_7.2-41           pcaPP_1.5
 [7] mvtnorm_0.9-0         hints_1.0.1-1         mvoutlier_1.3
[10] robustbase_0.2-8      lattice_0.17-6       



More information about the R-SIG-Mac mailing list