There is a thread related to your question in the JupyterHub discourse
forum: 
https://discourse.jupyter.org/t/lifecycle-for-servers-started-by-jupyter-server-proxy/314
maybe that already helps and/or we can merge these threads?

I think what you are looking for is
https://github.com/jupyterhub/jupyter-rsession-proxy which is a
notebook server extension that lets you run RStudio and RShiny apps. A
demo of this is
https://github.com/binder-examples/r#specifying-an-r-environment-with-a-runtimetxt-file
which shows you how to install the extension and lets you try it out
on mybinder.org

Hope this helps,
T

On Thu, Jan 17, 2019 at 7:53 PM <[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/cd5daacd-f86c-4ad5-bd70-41d6b5392e7d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAN3x1RawM5Fk8Z7jCwM5MtWzC3_ceOQkQNSnatoo%3DtocyF1jhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to