Question 1

Who created Markdown ?

Answer : John Gruber.

Question 2

When writing a document on Markdown, how do you denote the beginning of a R code chunk ?

Answer : ```{r}.

Question 3

When using knitr, how do you denote the height an width of a plot created in a code chunk ?

Answer : Set the ‘fig.height’ and ‘fig.width’ options for the code chunk.

Question 4

With some code chunks, we may not want the output generated by the chunk to be rendered into HTML but would prefer to print the output verbatim. How can we specify thid preference for a given code chunk ?

Answer : Set the option results = “asis”.

Question 5

When using knitr and R Markdown and producig output in HTML, why should you never edit the HTML file ?

Answer : Every time you knit() the R Markdown file, the HTML file will be overwritten.