Steps in creating an Rmarkdown documents
To get started with your own .Rmd file, select File → New File → R
Markdown… in the menu bar. RStudio will launch a wizard that you
can use to pre-populate your file with useful content that reminds
you how the key features of R Markdown work.