Translations:JupyterNotebook/67/en
Jump to navigation
Jump to search
- Load the R module.
[name@server ~]$ module load r
- Activate the Jupyter Notebook virtual environment.
[name@server ~]$ source $HOME/jupyter_py3/bin/activate
- Install the R kernel dependencies.
(jupyter_py3)_[name@server ~]$ R -e "install.packages(c('crayon', 'pbdZMQ', 'devtools'), repos='http://cran.us.r-project.org')"
- Install the R kernel.
(jupyter_py3)_[name@server ~]$ R -e "devtools::install_github(paste0('IRkernel/', c('repr', 'IRdisplay', 'IRkernel')))"
- Install the R kernel spec file.
(jupyter_py3)_[name@server ~]$ R -e "IRkernel::installspec()"