[R-pkgs] New R graphics package targeting HTML 5 canvas element
Jeffrey Horner
jeff.horner at vanderbilt.edu
Fri Apr 3 15:46:32 CEST 2009
Hi,
canvas is a new R package implementing a graphics device that emits
javascript code conforming to the HTML 5 CanvasRenderingContext2D
interface. Available on CRAN soon, but you can get it here immediately:
http://www.rforge.net/canvas
If you have access to a beta web browser like Firefox 3.1 or later, you
can see example plots here:
http://www.rforge.net/canvas/plots/index.html
Clicking on one of the plots will take you to a comparator page where
the plot is rendered twice, once with the canvas package and once with
the png(type='cairo') function.
The implementation is almost complete, however there are some parts that
need work like font metrics and dotted/dashed lines. If anyone is
interested in helping flesh out the remaining bits, I'd be much obliged.
Best,
Jeff
More information about the R-packages
mailing list