From 13da43a5200cb932dc60adc6796d6682d2504f6d Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Fri, 29 Mar 2019 19:20:46 +0100 Subject: [PATCH] Use relative paths whenever possible... --- module2/ressources/jupyter.org | 7 ++++--- module2/ressources/jupyter_fr.org | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/module2/ressources/jupyter.org b/module2/ressources/jupyter.org index d9f0da1..1d51891 100644 --- a/module2/ressources/jupyter.org +++ b/module2/ressources/jupyter.org @@ -91,7 +91,7 @@ Note that this =%%R= notation indicates that R should be used for the whole cell an other possibility is to use =%R= to have a single line of R within a python cell. -[[https://gitlab.inria.fr/learninglab/mooc-rr/mooc-rr-ressources/blob/master/documents/notebooks/notebook_Jupyter_Python_R.ipynb][Here]] is an notebook example using both R et Python +[[file:../../documents/notebooks/notebook_Jupyter_Python_R.ipynb][Here]] is an notebook example using both R et Python ** Other languages Jupyter is not limited to Python and R. Many other languages are available: @@ -241,8 +241,9 @@ You will then be able to create native R notebooks: [[file:jupyter_images/notebook_R.png]] -Note the R icon in the top right corner. [[https://gitlab.inria.fr/learninglab/mooc-rr/mooc-rr-ressources/blob/master/documents/notebooks/notebook_Jupyter_R.ipynb][Here is an example of R -notebook]]. +Note the R icon in the top right +corner. [[file:../..//documents/notebooks/notebook_Jupyter_R.ipynb][Here +is an example of R notebook]]. *** • Installing rpy2 (Python package) The =rpy2= package allows python to seamlessly call R and therefore to have both languages in the same notebook. diff --git a/module2/ressources/jupyter_fr.org b/module2/ressources/jupyter_fr.org index 6a27566..60b3f62 100644 --- a/module2/ressources/jupyter_fr.org +++ b/module2/ressources/jupyter_fr.org @@ -94,7 +94,7 @@ et récupère le résultat. Jupyter fait alors le nécessaire pour l'afficher correctement. Il est également possible d'utiliser =%R= pour avoir une seule ligne de R au sein d'une cellule python. -Un exemple de notebook utilisant R et Python est donné [[https://gitlab.inria.fr/learninglab/mooc-rr/mooc-rr-ressources/blob/master/documents/notebooks/notebook_Jupyter_Python_R.ipynb][ici]]. +Un exemple de notebook utilisant R et Python est donné [[file:../../documents/notebooks/notebook_Jupyter_Python_R.ipynb][ici]]. ** Autres langages que Python et R Jupyter tire son nom des langages Julia, Python, et R. Il ne se limite @@ -269,7 +269,7 @@ Vous pourrez alors créer des notebooks utilisant directement R: [[file:jupyter_images/notebook_R.png]] On remarque l'icône du logiciel R en haut à droite. Vous trouverez ici -[[https://gitlab.inria.fr/learninglab/mooc-rr/mooc-rr-ressources/blob/master/documents/notebooks/notebook_Jupyter_R.ipynb][un exemple de notebook R]]. +[[file:../../documents/notebooks/notebook_Jupyter_R.ipynb][un exemple de notebook R]]. *** • Installation de rpy2 (Python package) La bibliothèque =rpy2= permet à Python d'appeler R et donc de mélanger les deux langages dans le même notebook. -- 2.18.1