cedadev / ceda-notebooks

Jupyter Notebooks demonstrating CEDA data and tools
BSD 2-Clause "Simplified" License
6 stars 12 forks source link

How to install an R environment so that Jupyter recognises it? #36

Open clairbarnes opened 1 year ago

clairbarnes commented 1 year ago

I can install Python kernels following the instructions given, but now I need to use R, which uses irkernel rather than ipykernel. I've tried simply replacing the latter with the formed and replacing 'python' with 'R', but this is obviously not the right syntax. Any ideas?

agstephens commented 1 year ago

Hi @clairbarnes, are you working on the JASMIN Notebook Service and attempting to run R on it? If so, we have not managed to get R running on our instance of JupyterHub so I don't think that it is currently compatible.

clairbarnes commented 1 year ago

Hi @agstephens! Yes, that's exactly what I'm trying to do. I've been running R kernels through my local JupyterLab (using nb_conda_kernels in my jupyter environment and r-irkernel in all other R environments) but was hoping to replicate the setup on Jasmin. Thanks for confirming that it's currently unavailable, I'll stick with working locally for now.