Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion content/blog/glimpse-aug-2026/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Be sure to catch the presentations featured below, including Teun van den Brand'
Additionally, we have some fantastic recordings from the [Data Science Lab](https://pos.it/dslab). Watch the Lab Managers share their expertise while live coding:

{{< insert-items format="card" hide-badge=true >}}
- resources/videos/2026-07-24_live-tidytuesday-data-viz-workflow-nicola-rennie-data-science-lab/
- resources/videos/2026-07-24_how-to-make-a-data-visualization-in-r-a-live-tidytuesday-workflow/
- resources/videos/2026-07-23_mind-blowing-quarto-slide-extensions-emil-hvitfeldt-data-science-lab/
{{< /insert-items>}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ external: # updated automatically, do not edit
description: Overview of the RStudio Pro IDE
duration: 264
has_captions: false
language: en
last_updated: '2026-09-18T13:58:19.005981+00:00'
language: ''
last_updated: '2026-11-12T12:18:01.684986+00:00'
like_count: 0
playlist: ''
software:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p><a data-t="0">Xfce Desktop</a> <a data-t="3">Xfce Desktop</a> <a data-t="6">Xfce Desktop</a> <a data-t="9">Xfce Desktop</a></p>
<p><a data-t="3">Xfce Desktop</a> <a data-t="6">Xfce Desktop</a> <a data-t="9">Xfce Desktop</a> <a data-t="18">Xfce Desktop</a></p>

<p><a data-t="14">3.6.2</a> <a data-t="18">Xfce Desktop</a> <a data-t="27">3.6.2</a> <a data-t="31">Xfce Desktop</a> <a data-t="35">Xfce Desktop</a> <a data-t="39">Xfce Desktop</a> <a data-t="44">3.6.2</a> <a data-t="48">Xfce Desktop</a> <a data-t="55">3.6.2</a></p>
<p><a data-t="27">3.6.2</a> <a data-t="31">Xfce Desktop</a> <a data-t="44">3.6.2</a> <a data-t="48">Xfce Desktop</a> <a data-t="60">Xfce Desktop</a> <a data-t="70">Xfce Desktop</a> <a data-t="75">3.6.2</a> <a data-t="78">Xfce Desktop</a> <a data-t="83">3.6.2</a></p>

<p><a data-t="60">Xfce Desktop</a> <a data-t="65">3.6.2</a> <a data-t="70">Xfce Desktop</a> <a data-t="75">3.6.2</a> <a data-t="78">Xfce Desktop</a> <a data-t="83">3.6.2</a> <a data-t="86">Xfce Desktop</a> <a data-t="89">Xfce Desktop</a> <a data-t="92">Xfce Desktop</a> <a data-t="97">Xfce Desktop</a> <a data-t="99">3.6.2</a> <a data-t="102">Xfce Desktop</a> <a data-t="104">Xfce Desktop</a> <a data-t="105">3.6.2</a> <a data-t="105">Xfce Desktop</a> <a data-t="107">Xfce Desktop</a> <a data-t="111">,Xfce Desktop</a></p>
<p><a data-t="86">Xfce Desktop</a> <a data-t="99">3.6.2</a> <a data-t="102">Xfce Desktop</a> <a data-t="105">3.6.2</a> <a data-t="105">Xfce Desktop</a> <a data-t="83">3.6.2</a> <a data-t="107">Xfce Desktop</a> <a data-t="89">Xfce Desktop</a> <a data-t="92">Xfce Desktop</a> <a data-t="97">Xfce Desktop</a> <a data-t="99">3.6.2</a> <a data-t="102">Xfce Desktop</a> <a data-t="104">Xfce Desktop</a> <a data-t="105">3.6.2</a> <a data-t="105">Xfce Desktop</a> <a data-t="107">Xfce Desktop</a> <a data-t="107">,Xfce Desktop</a></p>
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ external: # updated automatically, do not edit
description: Overview of Shiny Pro
duration: 235
has_captions: false
language: en
last_updated: '2026-09-18T13:58:19.005994+00:00'
language: ''
last_updated: '2026-11-12T12:18:01.684986+00:00'
like_count: 0
playlist: ''
software:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
---
date: '2014-12-09'
description: 'R Markdown is a file format that holds narrative text and runnable R code in the same document. You write in Markdown, add code chunks, and render the file to HTML, PDF or Word with the results of the code included. That means the numbers, tables and charts in a report come from the code that produced them, so the report can be rebuilt from source whenever the data changes. With Jeff Allen.


What you will learn

- What R Markdown is, and what a .Rmd file contains

- How Markdown formatting turns into a finished document

- How code chunks run and place their output in the report

- How to build a custom template so a house style is applied once rather than every time

- Where R Markdown fits now that Quarto exists


Chapters

0:00 What R Markdown is

1:10 What an .Rmd file looks like

8:25 Building a custom template

12:55 Where to go next


Learn more

R Markdown: https://rmarkdown.rstudio.com

R Markdown: The Definitive Guide: https://bookdown.org/yihui/rmarkdown/

Quarto, the successor to R Markdown: https://quarto.org

Quarto for R Markdown users: https://quarto.org/docs/faq/rmarkdown.html


R Markdown is fully supported and is not going away. Quarto is the next generation of the same idea, and existing .Rmd files keep working.'
image: thumbnail.jpg
people: []
resource_type: video
resources: []
software:
- bookdown
- bookdown.org
- quarto
- rmarkdown
- rstudio
tags:
- what is r markdown
- r markdown
- rmd file
- r markdown tutorial
- r markdown file
- dynamic documents r
- reproducible reports
- knitr
- rstudio
- r markdown template
- quarto vs r markdown
- jeff allen
- posit
title: 'R Markdown Explained: Writing Dynamic Documents in RStudio'

external: # updated automatically, do not edit
channel: Posit PBC
comment_count: 0
date: '2014-12-09T14:47:10Z'
definition: hd
description: 'R Markdown is a file format that holds narrative text and runnable R code in the same document. You write in Markdown, add code chunks, and render the file to HTML, PDF or Word with the results of the code included. That means the numbers, tables and charts in a report come from the code that produced them, so the report can be rebuilt from source whenever the data changes. With Jeff Allen.


What you will learn

- What R Markdown is, and what a .Rmd file contains

- How Markdown formatting turns into a finished document

- How code chunks run and place their output in the report

- How to build a custom template so a house style is applied once rather than every time

- Where R Markdown fits now that Quarto exists


Chapters

0:00 What R Markdown is

1:10 What an .Rmd file looks like

8:25 Building a custom template

12:55 Where to go next


Learn more

R Markdown: https://rmarkdown.rstudio.com

R Markdown: The Definitive Guide: https://bookdown.org/yihui/rmarkdown/

Quarto, the successor to R Markdown: https://quarto.org

Quarto for R Markdown users: https://quarto.org/docs/faq/rmarkdown.html


R Markdown is fully supported and is not going away. Quarto is the next generation of the same idea, and existing .Rmd files keep working.'
duration: 840
has_captions: false
language: ''
last_updated: '2026-11-12T12:18:01.684986+00:00'
like_count: 0
playlist: ''
software:
- bookdown
- bookdown.org
- quarto
- rmarkdown
- rstudio
tags:
- what is r markdown
- r markdown
- rmd file
- r markdown tutorial
- r markdown file
- dynamic documents r
- reproducible reports
- knitr
- rstudio
- r markdown template
- quarto vs r markdown
- jeff allen
- posit
thumbnail: https://i.ytimg.com/vi/cWJzjHh_3kk/maxresdefault.jpg
title: 'R Markdown Explained: Writing Dynamic Documents in RStudio'
url: https://www.youtube.com/watch?v=cWJzjHh_3kk
view_count: 30819
---
image: thumbnail.jpg

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<p><a data-t="225">So this is just an example R Markdown file I have.</a> <a data-t="228">You can see, again, most of it's just text, like I had explained before.</a> <a data-t="232">We have some special formatting.</a> <a data-t="234">We have a couple of R chunks here.</a> <a data-t="237">And then we're doing actually a couple more advanced features, but I won't go into the</a> <a data-t="240">syntax of these.</a> <a data-t="241">But just so that you can see that they are possible here, you can do LaTeX style equations,</a> <a data-t="248">you can do footnotes, you can do all sorts of things like that.</a> <a data-t="251">But again, primarily the focus is just on creating prose and embedding your R code within</a> <a data-t="255">that.</a></p>

<p><a data-t="256">So what I'm going to do is I'm going to knit that document to HTML, and you can see what</a> <a data-t="262">that's going to produce.</a> <a data-t="264">So this is an HTML file that happens to be shown in this </a><a href="/software/rstudio/">RStudio</a><a data-t="264"> viewer, but we could</a> <a data-t="269">open this up in an external browser, we could share it, send it via email, whatever we want</a> <a data-t="274">to do.</a> <a data-t="274">And you can see that all the conventions that we created in our Markdown document, hyperlinks,</a> <a data-t="278">bold, any commands that we executed, the output of those commands, even any equations or footnotes</a> <a data-t="285">with hyperlinks, are all produced tables and even graphical output from your R code.</a></p>
<p><a data-t="256">So what I'm going to do is I'm going to knit that document to HTML, and you can see what</a> <a data-t="262">that's going to produce.</a> <a data-t="264">So this is an HTML file that happens to be shown in this </a><a href="/software/rstudio/">RStudio</a><a data-t="264"> viewer, but we could</a> <a data-t="269">open this up in an external browser, we could share it, send it via email, whatever we want</a> <a data-t="273">to do.</a> <a data-t="274">And you can see that all the conventions that we created in our Markdown document, hyperlinks,</a> <a data-t="278">bold, any commands that we executed, the output of those commands, even any equations or footnotes</a> <a data-t="285">with hyperlinks, are all produced tables and even graphical output from your R code.</a></p>

<h3>New output formats</h3>

Expand All @@ -46,7 +46,7 @@

<p><a data-t="468">So this is the template that I defined in my template.</a> <a data-t="472">And you can see, perhaps you always need to end your documents with an inclusion in this</a> <a data-t="476">company, or if you had a certain journal that you were submitting to and they had certain</a> <a data-t="480">style guides for what sections you should provide, you can do that.</a> <a data-t="484">But what's neat about this is that within my template, I've specified that there's a</a> <a data-t="488">certain CSS style sheet that I want to be applied.</a> <a data-t="491">And you can see this does not look like the original HTML document that I produced, but</a> <a data-t="495">rather it has different colors and different fonts and things like that.</a> <a data-t="498">So you can imagine that this could be styled for your company or your personal use if you</a> <a data-t="505">prefer a different styling.</a></p>

<p><a data-t="508">And then also you have custom formats.</a> <a data-t="518">So if you've worked with Beamer, which is a LaTeX presentation format, that's historically</a> <a data-t="534">been kind of difficult because you have to write the LaTeX by hand.</a> <a data-t="537">What's great about this is that R Markdown, since it can render LaTeX, it can actually</a> <a data-t="540">render Beamer as well once we've defined the Beamer template, which we've already done</a> <a data-t="544">for you.</a></p>
<p><a data-t="515">And then also you have custom formats.</a> <a data-t="526">So if you've worked with Beamer, which is a LaTeX presentation format, that's historically</a> <a data-t="534">been kind of difficult because you have to write the LaTeX by hand.</a> <a data-t="537">What's great about this is that R Markdown, since it can render LaTeX, it can actually</a> <a data-t="540">render Beamer as well once we've defined the Beamer template, which we've already done</a> <a data-t="544">for you.</a></p>

<p><a data-t="546">And again, this is full-fledged R Markdown.</a> <a data-t="548">So you can embed R codes, you can embed images, you can do all the things that you're used</a> <a data-t="552">to doing in R Markdown.</a> <a data-t="553">And then at the end, go to native PDF and you get this Beamer document that has all</a> <a data-t="560">the content that you were expecting in it.</a> <a data-t="563">But without having to go through the headache of learning LaTeX or even if you know it,</a> <a data-t="569">sometimes using it can be a bit painful.</a> <a data-t="570">And so this allows you just to continue working with R Markdown, a very convenient and efficient</a> <a data-t="576">and streamlined format, but you can produce very rich and complex output formats.</a></p>

Expand All @@ -60,7 +60,7 @@

<h3><a href="/software/shiny-r/">Shiny</a> interactivity in R Markdown</h3>

<p><a data-t="681">And then the last point here, just to make this kind of a teaser, I won't go into a whole</a> <a data-t="685">lot of detail on this, but is that now when you're using the HTML format, you can actually</a> <a data-t="690">support interactivity.</a> <a data-t="691">So if you're familiar with the Shiny package that allows you to do kind of interactive</a> <a data-t="695">web analysis within R, if I go to R Markdown and I click Shiny, I can create a Shiny document</a> <a data-t="702">or a Shiny presentation.</a> <a data-t="703">We'll just do a Shiny document for now, but Shiny presentations are actually kind of fun</a> <a data-t="707">because you can imagine that you're using an HTML style or an HTML slideshow, but in</a> <a data-t="713">the middle of your presentation, you have some interactive element that you can go in</a> <a data-t="716">and kind of dig into in the middle of your presentation, which is kind of a fun thing</a> <a data-t="721">to be able to do.</a></p>
<p><a data-t="682">And then the last point here, just to make this kind of a teaser, I won't go into a whole</a> <a data-t="685">lot of detail on this, but is that now when you're using the HTML format, you can actually</a> <a data-t="690">support interactivity.</a> <a data-t="691">So if you're familiar with the Shiny package that allows you to do kind of interactive</a> <a data-t="695">web analysis within R, if I go to R Markdown and I click Shiny, I can create a Shiny document</a> <a data-t="702">or a Shiny presentation.</a> <a data-t="703">We'll just do a Shiny document for now, but Shiny presentations are actually kind of fun</a> <a data-t="707">because you can imagine that you're using an HTML style or an HTML slideshow, but in</a> <a data-t="713">the middle of your presentation, you have some interactive element that you can go in</a> <a data-t="716">and kind of dig into in the middle of your presentation, which is kind of a fun thing</a> <a data-t="721">to be able to do.</a></p>

<p><a data-t="723">So you can see here that this is just an R Markdown document, but if you're familiar</a> <a data-t="727">with Shiny, you'll recognize some of these functions here.</a> <a data-t="730">It's a very easy way to get into Shiny.</a> <a data-t="732">There's really no overhead or boilerplate that's required.</a> <a data-t="735">But when I go to run this document, I'll save it first, and when I go to run this document,</a> <a data-t="741">you'll see that it's a regular R Markdown document just like we've seen before, but</a> <a data-t="745">now it also has Shiny interactive components.</a> <a data-t="747">And so when I go through and I toggle these different widgets that I can play with, I'm</a> <a data-t="755">able to change all these things interactively within my R Markdown document.</a></p>

Expand Down
42 changes: 0 additions & 42 deletions content/resources/videos/2014-12-09_r-markdown/_index.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ external: # updated automatically, do not edit
description: Jeff Allen covers the differences between Open Source Shiny Server and the Shiny Server Professional product from RStudio.
duration: 1128
has_captions: false
language: en
last_updated: '2026-09-18T13:58:19.005949+00:00'
language: ''
last_updated: '2026-11-12T12:18:01.684986+00:00'
like_count: 0
playlist: ''
software:
Expand Down
Loading
Loading