Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

compile spec #1

Open
timelyportfolio opened this issue Feb 26, 2016 · 2 comments
Open

compile spec #1

timelyportfolio opened this issue Feb 26, 2016 · 2 comments

Comments

@timelyportfolio
Copy link

What do you need to be able to translate a vegalite spec into ggplot2 commands? I see some V8 history. Is that what you need or do you need more? Happy to help.

@ghost
Copy link

ghost commented Feb 26, 2016

I think I over-thought the older stuff :-)

Vega-Lite can't handle more than one data source. That really simplifies things. So I should be able to adapt the code to handle the export of basic ggplot2 objects (completed ones).

What will need work is translating all the stat_ operations to calculate, filter, etc operations.

@hrbrmstr
Copy link
Owner

However to get a spec into ggplot2 will require some expression
compilation. I'm not sure it's worth it in the long run. Prbly going to
spend some cycles getting a title field into the widget and figuring out
how to get interactive functionality within the chart (it seems possible).
Or get some older pkgs out the door first :-)

On Fri, Feb 26, 2016 at 5:54 PM, hrbrmstr [email protected] wrote:

I think I over-thought the older stuff :-)

Vega-Lite can't handle more than one data source. That really
simplifies things. So I should be able to adapt the code to handle the
export of basic ggplot2 objects (completed ones).

What will need work is translating all the stat_ operations to calculate,
filter, etc operations.


Reply to this email directly or view it on GitHub
#1 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants