Integrating RStudio Server Pro with Jupyter Notebooks, Launcher, and Kubernetes
Launcher is a new feature of RStudio Server Pro 1.2 that is only available under named user licensing. RStudio Server Pro 1.2 without Launcher is available under existing server-based licensing. For questions about using Launcher with RStudio Server Pro, please contact email@example.com.
These steps describe how to integrate RStudio Server Pro with Jupyter Notebooks running with Launcher and Kubernetes.
The most recent
rstudio/r-session-complete Docker images referenced in these
steps include Python and Jupyter.
This integration is intended to be performed on top of an installation of RStudio Server Pro that has already been configured with Launcher and Kubernetes.
- RStudio Server Pro 1.2.5 or higher configured with Launcher and Kubernetes
1. Configure Launcher with Jupyter Notebooks
Add the following lines to the Launcher Jupyter configuration file:
jupyter-exe=/opt/python/3.6.9/bin/jupyter notebooks-enabled=1 labs-enabled=1 default-session-cluster=Kubernetes default-session-container-image=rstudio/r-session-complete:centos7-1.2.5033-1
2. Restart RStudio Server Pro and Launcher Services
$ sudo rstudio-server restart $ sudo rstudio-launcher restart
3. Test RStudio Server Pro with Launcher and Jupyter Notebooks
In your browser, navigate to the RStudio Server Pro interface and log in.
New Session, choose
Jupyter Notebooks or
JupyterLab as the IDE,
then click the
Start Session button.
You can then use the Jupyter Notebooks or JupyterLab interfaces.
Troubleshooting RStudio Server Pro and Jupyter
Refer to the support article on troubleshooting Jupyter Notebooks in RStudio Server Pro for additional information on troubleshooting RStudio Server Pro with Jupyter.
For more information on RStudio Server Pro and Launcher, refer to the following reference documentation: