3 R Markdown

Even this guide, which you are currently reading, was created using the R Markdown markup language. Text written in R Markdown is in an easy-to-read format, and you can still render (or more precisely: knit) it with one click of a button to the final format, which can be one of the following three:

  1. HTML (the markup language in which internet pages are written)
  2. PDF
  3. Microsoft Word document

This guide advises right from the beginning to use R Markdown for analyzing and expressing data.

R Markdown is easy to write with a free program called RStudio. This page you’re currently reading looks like this when written in R Markdown in RStudio (see the the image below, this goes a bit “meta” now):



R guide by Ville Langén is licensed under Attribution-ShareAlike 4.0 International