r2d3 icon indicating copy to clipboard operation
r2d3 copied to clipboard

crosstalk compatible r2d3

Open earowang opened this issue 7 years ago • 4 comments

Thanks for this awesome package.

Since there's no mention about how to make a crosstalk compatible package with r2d3::r2d3() in the website, I'm wondering if it's possible to enable crosstalk inside r2d3() instead of taking htmlwidgets route. If possible, it would be great to have a section on how to make crosstalk compatible.

Thank you so much.

earowang avatar Sep 05 '18 21:09 earowang

I think you should be able to use the crosstalk JS library on the client side, but perhaps some work needs to done to allow passing a crosstalk data source at the R level? @jcheng5 what do you know about this?

jjallaire avatar Sep 05 '18 23:09 jjallaire

Probably a little work there, it might be helpful to integrate that logic right into r2d3. @javierluraschi maybe we can discuss tomorrow in person if you'll be around.

jcheng5 avatar Sep 06 '18 03:09 jcheng5

Happy to explore as well... @earowang are you planning to use in Shiny or all in JS?

timelyportfolio avatar Sep 06 '18 21:09 timelyportfolio

Thanks for all the responses.

@timelyportfolio the project I'm working on is expected to work in both JS and Shiny, I think. Thanks.

earowang avatar Sep 06 '18 22:09 earowang