[R] Plotting Speed: R vs Octave

Deepayan Sarkar deepayan at stat.wisc.edu
Tue Dec 3 20:42:02 CET 2002


On Tuesday 03 December 2002 12:54 pm, Chunlou Yung wrote:
> Thank you. Guess it's a plausible explanation.
>
> > -----Original Message-----
> > From: Liaw, Andy [mailto:andy_liaw at merck.com]
> > Sent: Tuesday, December 03, 2002 08:05 AM
> > To: 'Chunlou Yung'
> > Subject: RE: [R] Plotting Speed: R vs Octave
> >
> >
> > If I'm not mistaken, Octave does not have its own graphics system, but
> > rather rely on gnuplot, which is entirely in C.  Lattice/Grid in
> > R, however,
> > have a large chunk of the code written in R, for trellis
> > displays.  There's
> > always price to be paid for the flexibility: try doing a simple
> > trellis plot
> > in gnuplot/octave: it's not there.

Also, wireframe code is currently far from optimized (it makes a separate R 
level function call to draw each quadrilateral). It would be more interesting 
to know why (and how much) persp is slower.

> > Andy
> >
> > -----Original Message-----
> > From: Chunlou Yung [mailto:chunlou at yahoo.com]
> > Sent: Tuesday, December 03, 2002 4:52 AM
> > To: r-help at stat.math.ethz.ch
> > Subject: [R] Plotting Speed: R vs Octave
> >
> >
> >
> > Just curious. Why is the 3D plot of Octave so much faster than R's? Like,
> > Octave's mesh vs R's persp or lattice's wireframe.
> >
> > Thanks.




More information about the R-help mailing list