R Markdown Introduction

Understanding Basics of R Markdown (RMD)

Abhinav Kumar (University of Massachusetts, Amherst)https://www.umass.edu
2022-05-28

What is R Markdown?

It is an authoring framework for data-based projects. R Markdown is also referred to as “RMD”. It is used to connect the data and generate reports. RMD is a simple plain text file with three types of content:

R Markdown View

Show code
knitr::include_graphics(path = "G:/TA/image/RMD.png")

RMD can be used in the R Interactive Development Environment (IDE) for productive notebook interface. RMD files are stored as “.RMD” . To build a report from the RMD file, “knit” function can be used to render a report. RMD renders the report in familiar formats running the code and embedding the results in the finished document. RMD builds many familiar formats, such as:

In every case RMD remains as a reproducible record of work easy to track in version control system like Git and easy to deploy in future.