diff --git a/module2/ressources/jupyter.html b/module2/ressources/jupyter.html index 17bbf92dc51bfed31c604172eb4c252038745051..5652d8e063a24797a70ced3b5786f11b60e33023 100644 --- a/module2/ressources/jupyter.html +++ b/module2/ressources/jupyter.html @@ -4,34 +4,34 @@

Table of Contents

-
-

Additional Jupyter resources or tricks

-
+
+

Additional Jupyter resources or tricks

+
-
-

Tips and tricks

-
+
+

Tips and tricks

+

The following webpage lists several Jupyter tricks (in particular, it illustrates many Ipython magic commands) that should improve your @@ -41,9 +41,9 @@ 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 installed the python3-rpy2 debian package with apt-get install. E.g., @@ -91,9 +91,9 @@ plot(df)

-
-

Exporting a notebook

-
+
+

Exporting a notebook

+

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 @@ -120,13 +120,13 @@ taste.

-
-

Installing Jupyter on your own machine

-
+
+

Installing Jupyter on your own machine

+
-
-

Installing jupyter

-
+
+

Installing jupyter

+

Here is what you should install:

@@ -157,15 +157,15 @@ The ipython notebook can then be run with the following command:
-
-

Using R

-
+
+

Using R

+

If you want to use 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).

@@ -174,9 +174,9 @@ the same notebook section).
-
-

Exporting your notebooks with latex

-
+
+

Exporting your notebooks with latex

+

Here is what I had to install on my recent debian machine to make sure the notebook export via latex works: @@ -188,9 +188,9 @@ sudo apt-get install texlive-xetex

-
-

Interacting with gitlab

-
+
+

Interacting with GitLab

+

Here is our jupyter extension that allows to git push/pull from the notebooks: @@ -202,9 +202,9 @@ jupyter nbextension enable nb-git

-
-

Interesting extensions to improve notebook readability

-
+
+

Interesting extensions to improve notebook readability

+

Here are two interesting extensions that can improve readability:

@@ -231,9 +231,9 @@ jupyter-serverextension enable --py hide_code
-
-

Installing JupyterHub   Benoit

-
+
+

Installing JupyterHub   Benoit

+

Benoit may give a few hints on this. diff --git a/module2/ressources/jupyter.org b/module2/ressources/jupyter.org index f165c473529d1e2503e4a809c3cdb6633c517b0f..24115e600f3cf62868887bd2e3447eca3b698dd4 100644 --- a/module2/ressources/jupyter.org +++ b/module2/ressources/jupyter.org @@ -91,7 +91,7 @@ the notebook export via latex works: sudo apt-get install wkhtmltopdf sudo apt-get install texlive-xetex #+end_src -** Interacting with gitlab +** Interacting with GitLab Here is our [[https://github.com/brospars/nb-git][jupyter extension that allows to git push/pull from the notebooks]]: #+begin_src shell :results output :exports both