[R] [R-pkgs] New R graphics package targeting HTML 5 canvas element

Jeffrey Horner
Fri, 03 Apr 2009 13:46:32 -0000

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

_______________________________________________
R-packages mailing list
R-packages at r-project.org