Microsoft Word

---
title: "rmarkdown_pdf_docx"
author: "Sebastien Renaut"
date: '2018-09-06'
output: word_document
---

Portable Document Format (.pdf)

Exercice 1 (15min.)

install.packages(“tinytex”)
library(tinytex)
It takes a few minutes to download and compile tinytex (~150MB)
install_tinytex()

-–
title: “rmarkdown_pdf_docx”
author: “Sebastien Renaut”
date: ‘2018-09-06’
output: pdf_document
-–

More complex header

-–
output
pdf_document:
keep_tex: true
fig_caption: true
latex_engine: pdflatex
title: “This is my first Rmarkdown manuscript
date: February 07, 2019
geometry: margin=1in
fontfamily: mathpazo
fontsize: 11pt
spacing: double
csl: ../reference_material/peerj.csl
bibliography: ../reference_material/reference.bib
-–

Exercice 2: R packages rticles (10min.)

```{r rticles, include=T}
#install.packages(“rticles”)
library(rticles)
```