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.
