Here I am assuming that you have a Python virtual environment in which you set up Jupyter Lab in macOS 10.15.
- Activate your
- Start R in your terminal. You can check where R is located by running
- Install necessary packages by running
- To make the R kernel available to Jupyter, run
- Reload your Jupyter Lab page if you have already been using Jupyter Lab.
Now you can create a new notebook with R kernel.