diff --git a/module2/exo1/toy_document_en.Rmd b/module2/exo1/toy_document_en.Rmd index 3810d72badb342040e75ffaa0c189f86509d0eb5..9582761dc5f521dc4b87da0e40c34c2dcefc8052 100644 --- a/module2/exo1/toy_document_en.Rmd +++ b/module2/exo1/toy_document_en.Rmd @@ -1,5 +1,5 @@ --- -title: "Your title" +title: "On the computation of pi" author: "Arnaud Legrand" date: "25 juin 2018" output: html_document @@ -10,14 +10,12 @@ output: html_document knitr::opts_chunk$set(echo = TRUE) ``` -## Some explanations +## Asking the maths library +My computer tells me that $\pi$ is approximatively -This is an R Markdown document that you can easily export to HTML, PDF, and MS Word formats. For more information on R Markdown, see . - -When you click on the button **Knit**, the document will be compiled in order to re-execute the R code and to include the results into the final document. As we have shown in the video, R code is inserted as follows: ```{r cars} -summary(cars) +pi() ``` It is also straightforward to include figures. For example: