There's an example in the Binder example repos of launching from Binderhub into a SHiny app:
https://github.com/binder-examples/r http://mybinder.org/v2/gh/binder-examples/r/master?urlpath=shiny/bus-dashboard/ --tony On Wednesday, 6 February 2019 20:35:06 UTC, [email protected] wrote: > > Hi All, > > Wanted to check if Jupyter-rsession-proxy or Jupyter-server-proxy enables > us to run Shiny applications from IPython (.ipynb) notebooks and not just R > notebooks in Amazon Linux AMI instance? We need to embed Python code and R > code (using R Magic) in .ipynb notebooks. > > > Thanks, > Harshith > > On Friday, January 18, 2019 at 9:56:11 AM UTC-5, [email protected] > wrote: >> >> Thanks vnijs, will check these latest updates. >> >> >> On Thursday, January 17, 2019 at 2:37:18 PM UTC-5, vnijs wrote: >>> >>> @yuvipanda <https://discourse.jupyter.org/u/yuvipanda> Made a number of >>> changes (very) recently that you might want to try out. See (closed) issue >>> linked below. As far as I know you can only run runApp() from Rstudio >>> server but you can now start Rstudio directly from Jupyter by clicking on >>> an icon. >>> >>> https://github.com/jupyterhub/jupyter-rsession-proxy/issues/56 >>> >>> On Thursday, January 17, 2019 at 10:53:05 AM UTC-8, [email protected] >>> wrote: >>>> >>>> Hi All, >>>> >>>> >>>> We have a use case to be able to use r shiny within jupyter notebook >>>> (using rpy2 magic in ipython kernel notebook) hosted on JupyterHub server. >>>> Based on our quick research, we noticed shiny package needs either an R >>>> Studio server or Shiny server to run the apps (server.r and ui.r files). >>>> Is >>>> this doable using notebooks either locally or on JupyterHub server? >>>> >>>> >>>> >>>> A couple of questions regarding JupyterHub (JH): >>>> >>>> - How do we use “Runapp()” or equivalent function to run shiny apps >>>> for multiple users on a single port in JH? >>>> - As we are using Amazon Linux AMI, we don’t have a default browser >>>> installed and no GUI desktop. So how can we launch shiny apps without a >>>> web >>>> browser? >>>> >>>> Please share any docs/links that might assist us or r shiny >>>> alternatives/interactive web framework packages which could be used in >>>> JupyterHub >>>> >>>> >>>> >>>> Thanks! >>>> >>> -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/acd6d2f7-57ea-4a6f-ba79-bbf165dc705e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
