Get access to all lessons in this course.
- Welcome to Fundamentals of R
- Update Everything
- Start a New Project
-
Data Wrangling and Analysis
- The Tidyverse
- Pipes
- select()
- mutate()
- filter()
- summarize()
- group_by() and summarize()
- arrange()
- Create a New Data Frame
- Bring it All Together (Data Wrangling)
-
Data Visualization
- The Grammar of Graphics
- Scatterplots
- Histograms
- Bar Charts
- Setting color and fill Aesthetic Properties
- Setting color and fill Scales
- Setting x and y Scales
- Adding Text to Plots
- Plot Labels
- Themes
- Facets
- Save Plots
- Bring it All Together (Data Visualization)
-
Quarto
- Quarto Overview
- YAML
- Text
- Code Chunks
- Tips for Working with Quarto
- Bring It All Together (Quarto)
-
Wrapping Up
- An Important Workflow Tip
Fundamentals of R
RMarkdown Overview
This lesson is locked
This lesson is called RMarkdown Overview, part of the Fundamentals of R course. This lesson is called RMarkdown Overview, part of the Fundamentals of R course.
If the video is not playing correctly, you can watch it in a new window
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).
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?