bokeh / rbokeh

R interface to Bokeh http://hafen.github.io/rbokeh/
Other
313 stars 67 forks source link

Can I serve rbokeh apps with rbokeh server? #233

Open 7hibault opened 5 years ago

7hibault commented 5 years ago

Hi, thanks for rbokeh, I've been looking into it from htmlwidgets, it looks great!

I'm trying to figure out how to build a web app without shiny and rbokeh seems very promising. However I can't find any information linking rbokeh to the bokeh server. I've also searched rbokeh docs for any mention of server but couldn't find any.

Is it possible to use the bokeh server to serve rbokeh apps?

bryevdv commented 5 years ago

It's not currently possible. The Bokeh server is a Python application built on top of the Tornado library. It runs and executes python code in order to generate the Bokeh Document that gets rendered, and to update that document based on callbacks. I can imagine a few different ways that it might be possible to have the Bokeh Server handle R code, but it would require some investigation and be a non-trivial task. It would need to be led by someone with R knowledge and experience with collaboration from me to advise on the Bokeh server parts.

As a first step, I'd say RBokeh needs to be updated to work from Bokeh 1.0 (I am not sure what @hafen's timeline for this might be).

7hibault commented 5 years ago

Thanks for clarifying @bryevdv , it was a bit difficult to separate bokeh and rbokeh capabilities. I would happily help but as of now, I'm not knowledgable enough to help...