Re: [jupyter] Jupyterhub r shiny support

2019-01-18 Thread harshithkr89
Thank you Tim. Will check out these links. However was curious to know if 
using either jupyter-rsession-proxy or jupyter-server-proxy, can we run 
iPython notebooks including Python code as well as R Shiny applications 
(RunApp with dataframe inputs)? Or is this only relevant to R specific 
notebooks?

Regards,
Harshith

On Thursday, January 17, 2019 at 2:13:22 PM UTC-5, Tim Head wrote:
>
> 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 > 
> 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 jupyter+u...@googlegroups.com . 
> > To post to this group, send email to jup...@googlegroups.com 
> . 
> > 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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/78fbc53c-83e1-4d9f-b5b1-b0c24e59b9d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyterhub r shiny support

2019-01-17 Thread Tim Head
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  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 jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> 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 jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
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.