Commit 3f103163 authored by Arnaud Legrand's avatar Arnaud Legrand

Minor additional information

parent 0b8e2442
...@@ -15,11 +15,14 @@ the tricks may have been integrated in the default behavior of jupyter ...@@ -15,11 +15,14 @@ the tricks may have been integrated in the default behavior of jupyter
now). now).
** Running R and Python in the same notebook ** Running R and Python in the same notebook
The best solution to this is to install rpy2. On my machine, I have 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 installed the =python3-rpy2= debian package with =apt-get install=. E.g.,
other alternative consists in going through the python package manager #+begin_src shell :results output :exports both
with 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 #+begin_src python :results output :exports both
pip install rpy2 pip3 install rpy2
#+end_src #+end_src
Then you'll be able to use both languages in the same notebook by: Then you'll be able to use both languages in the same notebook by:
1. Loading =rpy2=: 1. Loading =rpy2=:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment