swarm-lab / editR

A Rmarkdown editor with instant preview
GNU General Public License v3.0
350 stars 30 forks source link

editR doesn't work with interactive charts (rbokeh & ggvis)? #10

Open jarodmeng opened 9 years ago

jarodmeng commented 9 years ago

It seems that when I used interactive charting packages like rbokeh and ggvis, the chart doesn't get rendered in the preview pane. Is this a known issue?

sjmgarnier commented 9 years ago

@jarodmeng It seems that you are the first one who tried, so it hasn't been a problem so far. I'm not sure how easy it would be to fix this since I believe interactive charts require additional javascript code in the header of the HTML code (editR is a webapp), and that might not be easy to inject on the fly.

I'll mark this as a possible enhancement for future releases, if I can ever find the time to work on this in the near future. Help and PR will be obviously greatly appreciated ;-)