juba / robservable

Observable notebooks as R htmlwidgets
https://juba.github.io/robservable/
163 stars 11 forks source link

Is it possible to use input filter with robservable? #45

Closed novotny1akub closed 2 years ago

novotny1akub commented 2 years ago

Great package, guys. Integrating Observable JS with R seems to open up a lot of possibilities for stand alone html documents. Is it possible to use input filter with robservable (or select box/slider etc)? There is an example of input filter in the Quarto Observable JS documentation so this is the reason why I thought this could be possible. This would allow shine-like experience without the need for a hosted solution.

juba commented 2 years ago

Hi,

If you want to add an input filter which could act on an robservable widget, I think there are only two solutions :

robservable only imports Observable code from an existing notebook, whereas quarto gives the ability to create Observable cells directly in your document.

novotny1akub commented 2 years ago

I get it, thank you for your explanation.