Material for the Introduction to R workshop given at Digital History Summer School in Lausanne, 20-23 June 2017.
The notebook (open it in RStudio!).
The ggplot2 tutorial (in French).
You can find also two short scripts with examples of interactive visualisations (with packages Shiny and networkD3).