R is used as the engine. This does all of the computing for you.
RStudio is the place where you type and get the work done.
R packages is where you can get added features.
Note: For help with RMarkdown syntax, go Help > Cheatsheets > R Markdown Reference Guide.