diff --git a/module2/ressources/jupyter.html b/module2/ressources/jupyter.html index 72e1c29547217804ef568013c0c3f478934e8473..252e1db2631313566eb54c3bc7898985bbd87dc2 100644 --- a/module2/ressources/jupyter.html +++ b/module2/ressources/jupyter.html @@ -4,54 +4,34 @@
-- --This section needs some love. -
-
-As you may have seen from the videos, we provide two buttons to sync -with gitlab. Indeed, even if you recover your files when you log back -into fun, the jupyter runs on a different machine than the gitlab -server and you need to commit your notebook every time you have made a -significant step. This is also the only way to really make it public -and to share your notebook with others. -
-
The following webpage lists several Jupyter tricks (in particular, it
illustrates many Ipython magic
commands) that should improve your
@@ -61,9 +41,9 @@ now).
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
@@ -105,9 +85,9 @@ plot((df)
Obviously, you can convert to html or pdf using the using the File >
Download as > HTML
(or PDF
) menu option. This can also be done from
@@ -134,13 +114,13 @@ taste.
Here is what you should install:
@@ -171,16 +151,16 @@ The ipython notebook can then be run with the following command:If you also want to have the R kernel in jupyter, follow these instructions.
-Alternatively, you can install rpy2
(see the Running R and Python in
+Alternatively, you can install rpy2
(see the Running R and Python in
the same notebook section).
Here is what I had to install to make sure the notebook export via latex works: @@ -203,9 +183,9 @@ sudo apt-get install texlive-xetex
Here is our jupyter extension that allows to git push/pull from the notebooks: @@ -217,9 +197,9 @@ jupyter nbextension enable nb-git
Here are two interesting extensions that can improve readability:
@@ -245,9 +225,10 @@ jupyter-serverextension enable --py hide_codeBenoit may give a few hints on this. @@ -256,4 +237,3 @@ Benoit may give a few hints on this.