[R] MacOS X Quartz Rendering?

Don MacQueen macq at llnl.gov
Fri Mar 24 22:33:35 CET 2006

Hi, Neil,

Here is some time series data (8 series, each of length 200) that 
plots very quickly in R (2.2.1) for MacOSX.
Both on a G4 powerbook using the Quartz() graphics driver and on a G5 
using the x11() graphics driver.

     z <- ts(matrix(rt(200 * 8, df = 3), 200, 8), start=c(1961, 1), 
     plot(z, yax.flip = TRUE)

It's one of the examples provided in ?plot.ts

I think you will have to provide more information...at a minimum, 
say, your R version, what plot command you used, and the class of 
your time series object. (check the faq on posting)

>  sessionInfo()
R version 2.2.1, 2005-12-26, powerpc-apple-darwin7.9.0

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

other attached packages:

At 11:01 AM -0800 3/24/06, Neil Gunther wrote:
>I just tried rendering a plot of 166 data point (time series) on my PPC mac,
>and compared it with the same data rendered by Mathematica. The R plotting is
>very slow to paint and repaint, compared to Mathematica. This also makes it
>extremely awkward to use in other documentation such as pdfLatex.
>On closer inspection, it looks like the Mathematica plot is just a polyline,
>while in R it is a B-spline with each marker consisting of 24 
>B-splines knotted
>together. Moreover, the spline joints are rounded, which requires 
>computing two
>circles and intersecting them 26 times at each bend.
>Is there some reason why the point-markers are not just drawn as circles or
>squares, instead of doing these complicated and time-consuming knots?
>-- njg
>PERFORMANCE DYNAMICS COMPANY               http://www.perfdynamics.com/
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

More information about the R-help mailing list