Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Jupyter extensions for running an RStudio rsession proxy

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE.txt
Notifications You must be signed in to change notification settings

sandvikcode/nbrsessionproxy

 
 

nbrsessionproxy

nbrsessionproxy provides Jupyter server and notebook extensions to proxy an RStudio rsession.

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. Requires nbserverproxy.

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

Install nbrsessionproxy

Install the library:

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

Either install the extensions for the user:

jupyter serverextension enable  --py nbrsessionproxy
jupyter nbextension     install --py nbrsessionproxy
jupyter nbextension     enable  --py nbrsessionproxy

Or install the extensions for all users on the system:

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

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

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

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

About

Jupyter extensions for running an RStudio rsession proxy

Resources

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE.txt

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 66.9%
  • TypeScript 15.6%
  • JavaScript 11.2%
  • CSS 6.3%