Skip to content

Latest commit

 

History

History
61 lines (34 loc) · 1.02 KB

README.md

File metadata and controls

61 lines (34 loc) · 1.02 KB

Jupyter Notebook with a Rust, R, and python kernel

Steps to get it working:

  1. Install uv. See https://docs.astral.sh/uv/getting-started/installation/

  2. Start a new project:

uv init notebook_hello
cd notebook_hello
  1. Add the python kernel you prefer, e.g. version 3.13
uv add --dev ipykernel
uv run ipython kernel install --user --name notebook_hello
uv run --python 3.13 --with jupyter jupyter lab
  1. Set up the R kernel
Rscript -e "install.packages('IRkernel'); IRkernel::installspec(); "
  1. Set up the Rust kernel
cargo install jupyter
cargo install evcxr_jupyter
  1. Run the notebook server
uv run --with jupyter jupyter lab

You should see a notebook with the option to switch between Rust, Python, and R kernels.

Kernels