RMarkdown Overview
This lesson is called RMarkdown Overview, part of the R in 3 Months (Fall 2022) course. This lesson is called RMarkdown Overview, part of the R in 3 Months (Fall 2022) course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Create a new project. Don't worry too much about what's it called, etc because we'll only use this for a bit to demonstrate how RMarkdown works.
Create a new RMarkdown file, setting the default output format as Word.
Save your RMarkdown file as report.Rmd.
Look through this RMarkdown file and make sure that you can identify the YAML, text sections, and code chunks.
Click the Knit button and open the file that gets produced (report.docx).
Have any questions? Put them below and we will help you out!
Course Content
142 Lessons
You need to be signed-in to comment on this post. Login.
Béatrice Leydier • March 25, 2021
I've noticed my document by default doesn't include a date and author - I can easily add in manually, but was wondering if it was a setting I should change in my Rstudio app?
David Keyes Founder • September 18, 2021
Yup, you can definitely change it! I'll usually do HTML when I first start something because it's easiest. I'll then later change to a different format depending on what I need for my final deliverable.
Payal Mulchandani • September 20, 2021
Getting an error which says - Required package version could not be found: caTools 1.14 is not available. What do I need to update ?
Patricia Montano • January 10, 2022
This is very cool!! I'm looking forward to the next sections and already seeing how this could be time saver.
Tatiana Bustos • July 22, 2022
Had no idea R could do this with reports! VERY COOL
Jonathan Han • October 3, 2022
Hi David,
I was experimenting the formats that we could product upon knitting RMarkdown. However, I ran into some trouble while attempting to produce a PDF output.
The error message on the 'compile PDF' tab was — Unable to find specific LaTeX program 'pdfLaTeX' on system path.
Does this mean that I might have to additionally install other packages to enable this?