Brought to you by NumFOCUS Foundation and O’Reilly Media Inc.
The official Jupyter Conference
August 22-23, 2017: Training
August 23-25, 2017: Tutorials & Conference
New York, NY

Building a powerful data science IDE for R, Python, and SQL using JupyterLab

Ali Marami (R-Brain Inc)
1:50pm–2:30pm Friday, August 25, 2017
Extensions and customization
Location: Sutton Center/Sutton South Level: Intermediate

Who is this presentation for?

  • R and Python developers and Jupyter kernel and extensions developers

Prerequisite knowledge

  • Basic knowledge in R and Python
  • Previous experience with Jupyter notebooks or JupyterLab (useful but not required)

What you'll learn

  • Explore the potential of JupyterLab extensions and APIs
  • Learn how R-Brain extended Jupyter kernels to support advanced features such as debugging and how to use the new R kernel in Jupyter


JupyterLab provides a robust foundation for building flexible computational environments. Ali Marami explains how R-Brain leveraged the JupyterLab extension architecture to build a powerful IDE for data scientists, one of the few tools in the market that evenly supports R and Python in data science and includes features such as IntelliSense, debugging, and environment and data view.

Ali explains how R-Brain first filled in the gap between the Jupyter universe and R developers by developing a new full-featured R-Kernel before building a number of JupyterLab extensions, including the Language Server Protocol, Stdin and Stdout, real-time streams, R Markdown and Shiny support, HTML output, and infrastructures for supporting debugging and a data view. Ali then explains how, on the client side, R-Brain worked closely with JupyterLab core developers to abstract the editor, enabling the company to integrate Monaco (the heart of Microsoft’s VSCode IDE) into JupyterLab. This integration facilitates the implementation of language support and IntelliSense for R, Python, and SQL and significantly improves the experience of code development inside JupyterLab by providing comprehensive development and debugging tools such as context menu, autocomplete, code format, and folding. R-Brain also implemented a server-based data viewer, environment view, and debugging for both R and Python, which are in high demand in data science. Ali concludes by sharing some lessons learned along this journey.

Photo of Ali Marami

Ali Marami

R-Brain Inc

Ali Marami has PhD in Finance from University of Neuch√Ętel in Switzerland and BS in Electrical engineering. He has extensive experience in financial and quantitative modeling and model risk management in several US banks. He is the Chief Data Scientist and of the founders of R-Brain which is a platform for developing, sharing and promoting models and applications in Data Science.