Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 800 Bytes

jupyter-lab-setup.md

File metadata and controls

20 lines (12 loc) · 800 Bytes

Setting up R and Jupyter Lab

Steps

These steps are completed in your Terminal.

  1. Install Python 3. There are many ways to do this. If you are on MacOS, I recommend first installing the HomeBrew package manager then installing Python3: brew install python3.

  2. Install Jupyter Lab (instructions)

  3. In R, install the IRkernel package and the kernel to the current R installation:

install.packages('IRkernel')
IRkernel::installspec()

(Extra: If you also want to use Jupyter Lab in VS Code you need to also install languageserver).

  1. Launch Jupyter Lab and select R notebook. To launch Jupyter Lab type jupyter lab into your terminal.