Reporting your R-script can be done in a matter of seconds by using knitr or R Markdown. These libraries were created to quickly show your R-code as well as results in a wide variety of document types. Knitr can be used to automatically create a report of an existing R-script. R Markdown uses knitr in combination with markdown to create more customised reports.
Markdown
An easy-to-read, easy-to-write plain text format
Markdown is mostly used as a text-to-HTML conversion tool for web writers. After writing using plain text format, your markdown document can be converted to structurally valid XHTML (or HTML). For instance, github uses markdown to preview read me’s. Also the posts on this blog are written in markdown.