jupyterhub/nbrsessionproxy

Name: nbrsessionproxy

Owner: JupyterHub

Description: Jupyter extensions for running an RStudio rsession proxy

Created: 2016-12-09 06:26:18.0

Updated: 2018-05-22 09:37:48.0

Pushed: 2018-05-02 17:40:30.0

Homepage: null

Size: 84

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

nbrsessionproxy

nbrsessionproxy provides Jupyter server and notebook extensions to proxy RStudio.

Screenshot

If you have a JupyterHub deployment, nbrsessionproxy can take advantage of JupyterHub's existing authenticator and spawner to launch RStudio in users' Jupyter environments. You can also run this from within Jupyter. Note that RStudio Server Pro has more featureful authentication and spawning than the standard version, in the event that you do not want to use Jupyter's.

Installation
Pre-reqs
Install rstudio

Use conda conda install rstudio or download the corresponding package for your platform

Note that rstudio server is needed to work with this extension.

Install nbrsessionproxy

Install the library:

install git+https://github.com/jupyterhub/nbrsessionproxy

or

a install -c conda-forge nbrsessionproxy

Either install the extensions for the user:

ter serverextension enable  --py nbrsessionproxy
ter nbextension     install --py nbrsessionproxy
ter nbextension     enable  --py nbrsessionproxy

Or install the extensions for all users on the system:

ter serverextension enable  --py --sys-prefix nbrsessionproxy
ter nbextension     install --py --sys-prefix nbrsessionproxy
ter nbextension     enable  --py --sys-prefix nbrsessionproxy

For JupyterLab first clone this repository to a known location and install from the directory.

clone https://github.com/jupyterhub/nbserverproxy /opt/nbserverproxy
install -e /opt/nbserverproxy
ter serverextension enable --py nbrsessionproxy
ter labextension link /opt/nbrsessionproxy/jupyterlab-rsessionproxy

The Dockerfile contains an example installation on top of jupyter/r-notebook.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.