Integrating RStudio Workbench with Jupyter Notebooks, Launcher, and Kubernetes
These steps describe how to integrate RStudio Workbench, formerly 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.
Launcher is a new feature of RStudio Workbench 1.2 that is only available
under named user licensing. RStudio Workbench 1.2 without Launcher is
available under existing server-based licensing.
For questions about using
Launcher with RStudio Workbench, please contact email@example.com.
This integration is intended to be performed on top of an installation of
RStudio Workbench that has already been configured with Launcher and
Step 1. Configure Launcher with Jupyter Notebooks
Step 2. Restart RStudio Workbench and Launcher Services
Restart the services:
$ sudo rstudio-server restart
$ sudo rstudio-launcher restart
Step 3. Test RStudio Workbench with Launcher and Jupyter Notebooks
- From your browser, navigate to the RStudio Workbench interface and log in.
- Select New Session and do the following:
- Give your session a name.
- In the Editor field, select either Jupyter Notebooks or JupyterLab as the
- Click Start Session.
Now, you can use the Jupyter Notebooks or JupyterLab interfaces.
(Optional) Configure multiple Python versions or environments
The Python integration steps described above result in a single Python
environment that contains both core packages for Jupyter Notebooks as well as
Python packages for end users.
While this is a simple approach, this setup can result in issues if end users
want to use different versions of the same package or if some packages conflict
with core packages for Jupyter Notebooks.
If you would like to use multiple versions of Python or different Python
environments, or if you want to install Jupyter Notebook in a separate
environment from Python packages for end users, then you can refer to the
documentation for using multiple Python versions and environments with
Troubleshooting RStudio Workbench and Jupyter
Refer to the support article on troubleshooting Jupyter Notebooks in RStudio Workbench
for additional information on troubleshooting RStudio Workbench with Jupyter.
For more information on RStudio Workbench and Launcher, refer to the following