diff --git a/module1/ressources/introduction_to_markdown.html b/module1/ressources/introduction_to_markdown.html index 2ec79701bbf34e13a81d1ec6bfd609710142e14a..c9d4a8691fb2a5276971c7364547d60e89aadfa3 100644 --- a/module1/ressources/introduction_to_markdown.html +++ b/module1/ressources/introduction_to_markdown.html @@ -1,281 +1,29 @@ - - - - - - - -Introduction à Markdown - - - - - - - -

Introduction à Markdown

Table of Contents

@@ -286,13 +34,13 @@ Voici un aperçu rapide de la syntaxe Markdown repris d'une présentation de Github ainsi que de celles d'Archer Reilly et de James H. Steiger.

-
-

Syntaxe

-
+
+

Syntaxe

+
-
-

Headers

-
+
+

Headers

+
 # This is an <h1> tag
 ## This is an <h2> tag
@@ -301,9 +49,9 @@ H. Steiger.
 
-
-

Emphasis

-
+
+

Emphasis

+
 *This text will be italic*
 _This will also be italic_
@@ -316,13 +64,13 @@ _You **can** combine them_
 
-
-

Lists

-
+
+

Lists

+
-
-

Unordered

-
+
+

Unordered

+
 * Item 1
 * Item 2
@@ -331,9 +79,9 @@ _You **can** combine them_
 
-
-

Ordered

-
+
+

Ordered

+
 1. Item 1
 1. Item 2
@@ -344,27 +92,27 @@ _You **can** combine them_
 
-
-

Images

-
+
+

Images

+
 ![GitHub Logo](/images/logo.png)
 Format: ![Alt Text](url)
 
-
-

Links

-
+
+

Links

+
 http://github.com - automatic!
 [GitHub](http://github.com)
 
-
-

Blockquotes

-
+
+

Blockquotes

+
 As Kanye West said:
 
@@ -373,9 +121,9 @@ As Kanye West said:
 
-
-

Inline code

-
+
+

Inline code

+
 I think you should use an
 `<addr>` element here instead.
@@ -383,9 +131,9 @@ I think you should use an
 
-
-

Écrire des Maths

-
+
+

Écrire des Maths

+

Equations can be formatted inline or as displayed formulas. In the latter case, they are centered and set off from the main text. In the @@ -429,9 +177,9 @@ This summation expression is in display form.

-
-

Lettres grecques

-
+
+

Lettres grecques

+
@@ -475,16 +223,8 @@ This summation expression is in display form.
-
-

Operators

-
+
+

Operators

-
-

Date: June, 2018

-

Author: Arnaud Legrand

-

Created: 2018-07-19 jeu. 15:43

-

Validate

- - diff --git a/module2/ressources/emacs_orgmode.html b/module2/ressources/emacs_orgmode.html index b86497a57fceab68dbedc6413597929f0242b38c..c2bd1dc8bf6436ab2b09fb40e63e6d216dd3f9da 100644 --- a/module2/ressources/emacs_orgmode.html +++ b/module2/ressources/emacs_orgmode.html @@ -1,297 +1,67 @@ - - - - - - - -Emacs/org-mode - - - - - -

Emacs/org-mode

-
-

Installing emacs, org-mode, ess, and auctex.

-
+
+

Installing emacs, org-mode, ess, and auctex.

+
-
-

OS-specific installation procedure

-
+
+

OS-specific installation procedure

+
-
-

Linux (Debian, Ubuntu)

-
+
+

Linux (Debian, Ubuntu)

+

We provide here only instructions for debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -353,9 +123,9 @@ which is now deprecated.

-
-

Mac OS X

-
+
+

Mac OS X

+
  • Option 1: Install the .dmg file from Vincent Goulet: @@ -388,9 +158,9 @@ brew install wget

-
-

Windows

-
+
+

Windows

+

Install the .exe file from Vincent Goulet: https://vigou3.github.io/emacs-modified-windows/. It ships with recent @@ -404,9 +174,9 @@ versions:

-
-

A simple "reproducible research" emacs configuration

-
+
+

A simple "reproducible research" emacs configuration

+

Emacs comes with very basic default configuration and it appears like everyone has its own taste. You will for example find here several @@ -419,9 +189,9 @@ adding a few org-mode specific configurations.

-
-

Step 0: Backup and download our configuration

-
+
+

Step 0: Backup and download our configuration

+

The procedure we propose will wipe your already existing custom emacs configuration if you already have one. You should thus beforehand make @@ -442,9 +212,9 @@ rr_org/journal.org

-
-

Step 1: Prepare your journal

-
+
+

Step 1: Prepare your journal

+

Create an org/ directory in the top of your home:

@@ -461,9 +231,9 @@ should give a try.

-
-

Step 2: Set up Emacs configuration

-
+
+

Step 2: Set up Emacs configuration

+

Copy rr_org/init.el in your ~/.emacs.d/ directory.

@@ -475,9 +245,9 @@ configuration with the following command: emacs -q -l rr_org/init.el
-
-

Step 3: Check whether the installation is working or not

-
+
+

Step 3: Check whether the installation is working or not

+

Open a new instance of Emacs and open a foo.org file. Copy the following lines in this file: @@ -508,9 +278,9 @@ is demonstrated in the first entr

-
-

Step 4: Open and play with your journal:

-
+
+

Step 4: Open and play with your journal:

+

In step 1, you were told to create an journal in ~org/journal.org. First you probably want to make sure this file is @@ -522,22 +292,22 @@ forums.

-
-

Emacs Tips and tricks

-
+
+

Emacs Tips and tricks

+
-
-

Cheat-sheets

-
+
+

Cheat-sheets

+

Learning emacs and org-mode can be difficult as there is an inordinate amount of shortcuts. Many people have thus come up with cheat-sheats. Here is a selection in case it helps:

-
-

Emacs

-
+ -
-

Org-mode

-
+
+

Org-mode

+
-
-

Video tutorials

-
+
+

Video tutorials

+

For those of you who prefer video explanations, here is a Youtube channel with many step by step emacs tutorials.

-
-

Additional useful emacs packages

-
+
+

Additional useful emacs packages

+
-
-

Company-mode

-
+
+

Company-mode

+

Company-mode is a text completion framework for Emacs. It allows to have smart completion in emacs for the most common languages. If you @@ -581,9 +351,9 @@ official webpage: http://company-mode.g

-
-

Magit

-
+
+

Magit

+

Magit is an emacs interface for Git. It is very powerfull and we use it on a daily basis but you should definitely understand what git does @@ -594,9 +364,9 @@ you should follow the instructions from here:

-
-

Other resources

-
+
+

Other resources

+
-
-

A replicable article

-
+
+

A replicable article

+
-
-

A stub of replicable article

-
+
+

A stub of replicable article

+

Remember, you need a working LaTeX and R environment. If you can't open a terminal and run the commands R and pdflatex, you will not be @@ -667,11 +437,3 @@ chunk of code when exporting.

-
-

Date: June, 2018

-

Author: Arnaud Legrand

-

Created: 2018-07-19 jeu. 14:26

-

Validate

-
- - diff --git a/module2/ressources/jupyter.html b/module2/ressources/jupyter.html index c2dc51c85db8f134e4adda8d8f6c87b282432319..788db0f400d31743a84fd99370d81cd433f0e86f 100644 --- a/module2/ressources/jupyter.html +++ b/module2/ressources/jupyter.html @@ -1,264 +1,34 @@ - - - - - - - -Rstudio - - - - - -
-

Rstudio

+

Jupyter

-
-

Interacting with gitlab

-
+
+

Interacting with gitlab

+

This section needs some love. @@ -275,13 +45,13 @@ and to share your notebook with others.

-
-

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 @@ -291,9 +61,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. An @@ -335,9 +105,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 @@ -364,13 +134,13 @@ taste.

-
-

Installing jupyter or jupyter hub on your own machine

-
+
+

Installing jupyter or jupyter hub on your own machine

+
-
-

Installing jupyter

-
+
+

Installing jupyter

+

Here is what you should install:

@@ -401,16 +171,16 @@ The ipython notebook can then be run with the following command:
-
-

Using R

-
+
+

Using R

+

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).

@@ -419,9 +189,9 @@ the same notebook section).
-
-

Exporting your notebooks with latex

-
+
+

Exporting your notebooks with latex

+

Here is what I had to install to make sure the notebook export via latex works: @@ -433,9 +203,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: @@ -447,9 +217,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:

@@ -475,9 +245,9 @@ jupyter-serverextension enable --py hide_code
-
-

Installing jupyterhub

-
+
+

Installing jupyterhub

+

Benoit may give a few hints on this. @@ -487,11 +257,3 @@ Benoit may give a few hints on this.

-
-

Date: June, 2018

-

Author: Arnaud Legrand

-

Created: 2018-07-19 jeu. 15:45

-

Validate

-
- - diff --git a/module2/ressources/rstudio.html b/module2/ressources/rstudio.html index 40ce5383d8acba10f82491ded0b84fe5518d7e1d..dcf35354c39821ea642b5ef7b4ba4a1d05642bb0 100644 --- a/module2/ressources/rstudio.html +++ b/module2/ressources/rstudio.html @@ -1,269 +1,39 @@ - - - - - - - -Rstudio - - - - - -

Rstudio

-
-

Installing Rstudio

-
+
+

Installing Rstudio

+
-
-

Linux (debian, ubuntu)

-
+
+

Linux (debian, ubuntu)

+

We provide here only instructions for debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -285,9 +55,9 @@ for upgrading…

-
-

Installing R

-
+
+

Installing R

+

Beforehand, you need to install the R language and convenient packages by running (as root): @@ -320,9 +90,9 @@ to run (as root):

-
-

Installing rstudio

-
+
+

Installing rstudio

+

Rstudio is unfortunately not packaged within debian so the easiest is to download the corresponding debian package on the Rstudio webpage @@ -340,9 +110,9 @@ sudo apt-get update ; sudo apt-get -f install -

Mac OSX and Windows

-
+
+

Mac OSX and Windows

+

Some instructions on installing R and knitr must be missing. This @@ -366,13 +136,13 @@ install.packages("ggplot2")

-
-

Installing Git

-
+
+

Installing Git

+
-
-

Linux (debian, ubuntu)

-
+
+

Linux (debian, ubuntu)

+

We provide here only instructions for debian-based distributions. Feel free to contribute to this document to provide up-to-date information @@ -388,9 +158,9 @@ Run (as root):

-
-

Mac OSX and Windows

-
+
+

Mac OSX and Windows

+
  • Download and install Git from the Git website.
  • Optional Git clients (should not be needed if you work within @@ -410,9 +180,9 @@ Rstudio):
-
-

Rstudio and git/github/gitlab

-
+
+

Rstudio and git/github/gitlab

+

We may want to redo a screencast in French for this @@ -433,9 +203,9 @@ Alternatively, we can point to:

-
-

Cheat Sheets

-
+
+

Cheat Sheets

+

The Rstudio team has created a lot of good material and tutorials. You should definitively look at the Cheat sheets webpage. In particular @@ -462,11 +232,3 @@ of these documents:

-
-

Date: June, 2018

-

Author: Arnaud Legrand

-

Created: 2018-07-19 jeu. 14:26

-

Validate

-
- -