From 3f10316364b9e38db87c5bc817344f938c80fcf8 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Tue, 24 Jul 2018 11:01:44 +0200 Subject: [PATCH] Minor additional information --- module2/ressources/jupyter.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/module2/ressources/jupyter.org b/module2/ressources/jupyter.org index 040e86c..f165c47 100644 --- a/module2/ressources/jupyter.org +++ b/module2/ressources/jupyter.org @@ -15,11 +15,14 @@ the tricks may have been integrated in the default behavior of jupyter now). ** Running R and Python in the same notebook The best solution to this is to install rpy2. On my machine, I have -installed the =python3-rpy2= debian package with =apt-get install=. An -other alternative consists in going through the python package manager -with +installed the =python3-rpy2= debian package with =apt-get install=. E.g., +#+begin_src shell :results output :exports both +sudo apt-get install python3-rpy2 python3-tzlocal +#+end_src +An other (not really recommanded) alternative consists in going +through the python package manager with #+begin_src python :results output :exports both -pip install rpy2 +pip3 install rpy2 #+end_src Then you'll be able to use both languages in the same notebook by: 1. Loading =rpy2=: -- 2.18.1