

R Markdown is a variation on Markdown allowing it to be implemented in R. Due to it’s basic nature, you need none to very little programming knowledge in order to write in Markdown!
Load r rmarkdown github portfolio code#
You can see the original Markdown code here. This webpage has been written in Markdown and then github has rendered this to allow you to view it as a webpage. It was originally designed for web developers to allow for editing of web pages with an easy-to-read and easy-to-write plain text format. Markdown is a coding language that allows for text-to-HTML conversion. This tutorial has been largely inspired by the fantastic resources available at the R Markdown Website.

It also has the ability to the render the R Markdown into easy-to-read documents including PDF, html or word document formats, allowing for easy production of reports. R Markdown is a nice solution to this situation, allowing you to group your code into “chunks” as well as acting like a notebook, with plots pictured directly below the code. Even with thorough notation of the script, this can often still be confusing.

However, I’ve often found myself lost in a 1000 line script, trying to work out what each line of script is doing and what plots are being produced. As a researcher who uses R on a daily basis, I started out using R Scripts to record my research. R has several nice ways to record your activities, and to make these as reproducible as possible including R Scripts and R Markdown. However when it comes to statistics and plots, people are less cautious about recording what they have done. This is a common practice within the wet lab with all researchers keeping a lab book. It’s important during research to keep a thorough record of your analysis.
