0

I am trying to use GitHub Codespace with R + Jupyter Notebook setting. However, the notebooks on the codespace do not locate a correct kernel for R.

Here are the steps I went through:

  1. I created a Codespace for my repo.

  2. I clicked on 'Configure Dev Container' and selected "Jupyter Data Science Notebooks", which is supposed to support Python, R, and Julia.

  3. After rebuild, I installed "R" VS code extension and checked that R codes on .r script run fine.

I executed R on Bash, and then installed packages "languageserver" and "IRkernel". IRkernel was already installed.

  1. Then, I executed IRkernel::installspec().

I checked using jupyter kernelspec list that there is a Jupyter kernel for R:

Jupyter kernel list on Bash

However, I don't see a correct R kernel on Jupyter notebook, but instead there is a kernel named "R" with a path to Python:

Jupyter kernel list on notebook

What should I do to have the correct R kernel show up on Jupyter notebook?

Progman
  • 16,827
  • 6
  • 33
  • 48
minjo101
  • 1
  • 1

0 Answers0