Re: [Rd] Scripting SVG with R

2010-10-29 Thread Michael Lawrence
Lots of interesting responses to this, but I would add that the qtbase package allows for interesting hybrid applications between the web/javascript and R. Qt includes a WebKit port, which is integrated with the QtScript module, a javascript implementation. With qtbase, one could hypothetically e

Re: [Rd] Scripting SVG with R

2010-10-21 Thread Shane Conway
This is slightly tangential, but I would just add some notes related to things that I had worked on (in various stages of completion). This relates more to parsing SVG and Javascript from within R, rather than R from within Javascript: 1) I wrapped most of the Protovis primitives in an R package c

Re: [Rd] Scripting SVG with R

2010-10-15 Thread Gabriel Becker
Wolfgang, I am currently working on this very thing under Duncan Temple Lang. Or, to be more precise what you are describing is one piece of our overarching goal, which is to create a system in which R can be run from within a browser (currently FireFox) with bi-directional communication occurring

[Rd] Scripting SVG with R

2010-10-13 Thread Wolfgang Huber
Since now many browsers support (ECMA/Java-)scripted SVG, I am wondering whether there are already any examples of inserting R code into SVG documents (or a Javascript canvas?) either directly, or perhaps more likely through a JavaScript layer, to dynamically generate graphics or make them in