Skip to content
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this 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

Add a line to your report that uses inline R code

Learn More

To learn more about inline R code, check out lesson 4 of the RMarkdown series on the RStudio website as well as Chapter 6 of Nick Tierney's book titled RMarkdown for Scientists.

I use a few functions in this lessons you may not be familiar with. Here are links to the documentation for pull() and unique(). I also use Sys.Date() , which returns the current date in the format YYYY-MM-DD. If you want nicely formatted dates (e.g. May 22, 2020), check out the add_readable_time() function from the blastula package.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.