jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.14k stars 948 forks source link

Examples/anything for R #792

Closed richardbeare closed 8 years ago

richardbeare commented 8 years ago

Hi, Apologies if I've missed an obvious link somewhere describing how this works.

The recent developments mention making the widgets available to other kernels, but I've not found any examples. I'm specifically interested in R. If it isn't ready to go yet, what needs to be done/written/fixed etc.

Thanks

gnestor commented 8 years ago

ipywidgets depend on the ipython kernel, so they don't work with IRkernel. However, I found a couple links that might help:

richardbeare commented 8 years ago

I guess I was chasing the status of R support mentioned in 5th paragraph of this post:

http://blog.jupyter.org/2016/04/22/ipywidgets5/

FYI - we're trying to produce some commonish notebooks for python and R for the simpleITK project.

gnestor commented 8 years ago

The decoupling of jupyter-js-widgets allows kernel authors (and others) to make use of this client-side code to create things like ipywidgets for other kernels, although I don't think anything for R is available yet. It looks like declarativewidgets uses a very small part. I would suggest taking a look at declarativewidgets as they work with IPython and IRkernel.

richardbeare commented 8 years ago

Thanks - will do

hoangmt commented 6 years ago

Hi, maybe this one is similar to what you want: https://rstudio.github.io/shinydashboard/get_started.html This allows you to create a dashboard in Rstudio as well as in Jupyter notebook. When you run it on Jupyter notebook, the dashboard will be represented as a website. Best,