Translations:JupyterNotebook/67/fr: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
# Chargez le module R. {{Command2|module load r}} | # Chargez le module R. {{Command2|module load r}} | ||
# Activez l'environnement virtuel Jupyter Notebook. {{ | # Activez l'environnement virtuel Jupyter Notebook. {{Command2|source $HOME/jupyter_py3/bin/activate}} | ||
# Installez les dépendances du ''kernel''. {{Command2|prompt=(jupyter_py3)_[name@server ~]$|R -e "install.packages(c('crayon', 'pbdZMQ', 'devtools'), repos{{=}}'http://cran.us.r-project.org')"}} | # Installez les dépendances du ''kernel''. {{Command2|prompt=(jupyter_py3)_[name@server ~]$|R -e "install.packages(c('crayon', 'pbdZMQ', 'devtools'), repos{{=}}'http://cran.us.r-project.org')"}} | ||
# Installez le ''kernel'' R. {{Command2|prompt=(jupyter_py3)_[name@server ~]$|R -e "devtools::install_github(paste0('IRkernel/', c('repr', 'IRdisplay', 'IRkernel')))"}} | # Installez le ''kernel'' R. {{Command2|prompt=(jupyter_py3)_[name@server ~]$|R -e "devtools::install_github(paste0('IRkernel/', c('repr', 'IRdisplay', 'IRkernel')))"}} | ||
# Installez le spec file du ''kernel'' R. {{Command2|prompt=(jupyter_py3)_[name@server ~]$|R -e "IRkernel::installspec()"}} | # Installez le spec file du ''kernel'' R. {{Command2|prompt=(jupyter_py3)_[name@server ~]$|R -e "IRkernel::installspec()"}} |
Revision as of 00:12, 14 February 2018
- Chargez le module R.
[name@server ~]$ module load r
- Activez l'environnement virtuel Jupyter Notebook.
[name@server ~]$ source $HOME/jupyter_py3/bin/activate
- Installez les dépendances du kernel.
(jupyter_py3)_[name@server ~]$ R -e "install.packages(c('crayon', 'pbdZMQ', 'devtools'), repos='http://cran.us.r-project.org')"
- Installez le kernel R.
(jupyter_py3)_[name@server ~]$ R -e "devtools::install_github(paste0('IRkernel/', c('repr', 'IRdisplay', 'IRkernel')))"
- Installez le spec file du kernel R.
(jupyter_py3)_[name@server ~]$ R -e "IRkernel::installspec()"