Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

The general process involves updating the conda environment to include kernel related packages, and then configuring the kernel spec to allow it to be picked up by the Jupyter service.

Info
  1. Activate you R Conda Environment.

  2. Start R.

  3. Install the IRkernel package.

  4. Exit R.

  5. Deactivate your Conda environment.

  6. Copy the created kernelspec into your home .local/share/jupyter/kernels/ folder.

  7. Update the kernel.json.

...

Install the IRkernel package

Info

Activate you R Conda Environment and start R.

Code Block
[salexan5@mblog2 ~]$ module load miniconda3/24.3.0
[salexan5@mblog2 ~]$ conda activate /project/arcc/software/conda-envs/r_4.3.3_env/
(/project/arcc/software/conda-envs/r_4.3.3_env) [salexan5@mblog2 ~]$ R
> install.packages('IRkernel')
...
also installing the dependencies ‘fastmap’, ‘fansi’, ‘utf8’, ‘htmltools’, ‘pillar’, ‘base64enc’, ‘repr’, ‘evaluate’, ‘IRdisplay’, ‘pbdZMQ’, ‘crayon’, ‘jsonlite’, ‘uuid’, ‘digest’
...
* DONE (IRkernel)

...