Skip to main content

Jupyter Notebook integration with RStudio Server Pro

Project description

rsp-jupyter

This directory contains the rsp-jupyter Jupyter Notebook plugin for integrating Jupyter with various RSP functions. The plugin currently has the following features:

  • Writes opened notebooks locations to the user's RStudio state folder, and displays recently opened notebooks on the homepage under recent projects.
  • Provides a button within the notebook that can be clicked which will take the user back to the RStudio Server Pro homepage.

Requirements

  • Python 2.7.9 or Python 3.4.0 and higher
  • Jupyter Notebook 5.x
  • pip
  • wheel
  • [RStudio Server Pro] v1.2.0 or higher

If using conda, pip and wheel should already be installed.

Installation

Install the rsp-jupyter package with the following command:

pip install rsp_jupyter

Enable the rsp-jupyter extension with the following commands:

# Install `rsconnect-jupyter` as a jupyter extension
jupyter-nbextension install --sys-prefix --py rsp_jupyter

# Enable JavaScript extension
jupyter-nbextension enable --sys-prefix --py rsp_jupyter

Note: The above commands only need to be run once when installing rsp_jupyter.

Uninstalling

First disable and remove the rsp-jupyter notebook extension:

# Remove JavaScript extension
jupyter-nbextension uninstall --sys-prefix --py rsp_jupyter

Finally, uninstall the rsp-jupyter python package:

pip uninstall rsp_jupyter

Upgrading

To upgrade rsp-jupyter, first uninstall the extension and then re-install it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rsp_jupyter-1.2.1541.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

rsp_jupyter-1.2.1541-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page