Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr-ressources
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Learning Lab
mooc-rr-ressources
Commits
dc277b73
Commit
dc277b73
authored
Sep 20, 2018
by
Marie-Gabrielle Dondon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compléments Windows
parent
c4f22946
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
jupyter.org
module2/ressources/jupyter.org
+20
-1
No files found.
module2/ressources/jupyter.org
View file @
dc277b73
...
@@ -43,6 +43,20 @@ Then you'll be able to use both languages in the same notebook by:
...
@@ -43,6 +43,20 @@ Then you'll be able to use both languages in the same notebook by:
Note that this =%%R= notation allows you to use R for the whole cell but
Note that this =%%R= notation allows you to use R for the whole cell but
an other possibility is to use =%R= to have a single line of R within a
an other possibility is to use =%R= to have a single line of R within a
python cell.
python cell.
*** Windows
Download =rpy2= [[https://www.lfd.uci.edu/~gohlke/pythonlibs/#rpy2][binary file]] by choosing the right operating system.
Open a DOS console and type the following command:
#+begin_src shell :results output :exports both
python -m pip install rpy2‑2.9.4‑cp37‑cp37m‑win_amd64.whl # adapt filename
#+end_src
Install also =tzlocal=:
#+begin_src shell :results output :exports both
python -m pip install tzlocal
#+end_src
** 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
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
the command line with the following command:
the command line with the following command:
...
@@ -81,7 +95,7 @@ source activate mooc_rr
...
@@ -81,7 +95,7 @@ source activate mooc_rr
jupyter notebook
jupyter notebook
#+end_src
#+end_src
** Side note about Jupyter, JupyterLab, JupyterHub
,
...
** Side note about Jupyter, JupyterLab, JupyterHub...
Note that Jupyter notebooks are only a small part of the picture and
Note that Jupyter notebooks are only a small part of the picture and
that Jupyter is now part of a bigger project: [[https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906][JupyterLab]], which allows
that Jupyter is now part of a bigger project: [[https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906][JupyterLab]], which allows
you to mix various components (including notebooks) in your
you to mix various components (including notebooks) in your
...
@@ -96,6 +110,11 @@ the notebook export via latex works:
...
@@ -96,6 +110,11 @@ the notebook export via latex works:
sudo apt-get install texlive-xetex wkhtmltopdf
sudo apt-get install texlive-xetex wkhtmltopdf
#+end_src
#+end_src
*** Windows
Download and install MiKTeX from the [[https://miktex.org/download][MiKTeX webpage]]
by choosing the right operating system. You will be prompted to install some specific
packages when exporting to pdf.
** Jupyter extensions/plugins
** Jupyter extensions/plugins
*** Improving notebook readability
*** Improving notebook readability
Here are a few extensions that can ease your life:
Here are a few extensions that can ease your life:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment