kleinee / jns

jupyter notebook and lab on Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions for installing the R kernel

HarvsG opened this issue · comments

Please add instructions or a script for installing the R kernel if possible/feasible

George (@HarvsG),

I assume that you successfully executed the scripts in this repository and ended up with a working jupyter lab installation. If you further have R installed, you can add the IRkernel following the instructions in this link:

  1. Open a terminal and activate the virtual environment: . ~/.venv/jns/bin/activate
  2. Start R from the command line
  3. At the prompt execute:
install.packages('IRkernel')
IRkernel::installspec()

If all goes to plan you can reboot the pi and should be able to use the IRkernel
Hope that this works for you.

PS: I am working on a script that builds R from source and adds the iIRkernel. I will add the script to this repository once I am done.

Best Regards

Eckhard

HI @HarvsG,

Did you try my suggestion above? If it works at your end I can close this issue.

Thanks & Regards

Eckhard

Dear Echerhard,
you can close the issue.
I can confirm, your suggested code worked for me.
Raspberry and pixel chromebook in crouton
I will now install it also on my zero

Frank