Installing .venv and R kernel in Jupyter noteboook
Installing virtualenv kernel and registering
Activate your virtualenv, and install the IPykernel package
pip install ipykernel
Register the kernel installed in the virtualenv with the Jupyter environment
ipython kernel install --user --name=.venv
Installing R kernel and registering
From IRKernel
Open an R console and install the package IRkernel
install.packages('IRkernel')
Register the kernel with the Jupyter environment with a kernelspec
IRkernel::installspec()
# Or a systemwide install
IRkernel::installspec(user = FALSE)
Choosing Kernel
Either define the kernel when creating a new notebook.
Or by changing it inside the notebook itself.
Removing kernels
jupyter kernelspec uninstall kernel-name