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. {{Command|module load r}} | # Chargez le module R. {{Command|module load r}} | ||
# Activez l'environnement virtuel Jupyter Notebook. {{Command|source $HOME/jupyter_py3/bin/activate}} | # Activez l'environnement virtuel Jupyter Notebook. {{Command|source $HOME/jupyter_py3/bin/activate}} | ||
# Installez les | # Installez les dépendances de ''kernel'' R. {{Command|prompt=(jupyter_py3)[name@server $]|R -e "install.packages(c('crayon', 'pbdZMQ', 'devtools'), repos{{=}}'http://cran.us.r-project.org')"}} | ||
# Installez le ''kernel'' R. {{Command|prompt=(jupyter_py3)[name@server $]|R -e "devtools::install_github(paste0('IRkernel/', c('repr', 'IRdisplay', 'IRkernel')))"}} | # Installez le ''kernel'' R. {{Command|prompt=(jupyter_py3)[name@server $]|R -e "devtools::install_github(paste0('IRkernel/', c('repr', 'IRdisplay', 'IRkernel')))"}} | ||
# Installez le spec file du ''kernel'' R. {{Command|prompt=(jupyter_py3)[name@server $]|R -e "IRkernel::installspec()"}} | # Installez le spec file du ''kernel'' R. {{Command|prompt=(jupyter_py3)[name@server $]|R -e "IRkernel::installspec()"}} |
Revision as of 20:33, 26 October 2017
- 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 de kernel R.
(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()"