<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rmarkdown on rostrum.blog</title>
    <link>https://www.rostrum.blog/tags/rmarkdown/</link>
    <description>Recent content in Rmarkdown on rostrum.blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <lastBuildDate>Fri, 07 May 2021 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://www.rostrum.blog/tags/rmarkdown/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Encrypt and host a knitted R Markdown file</title>
      <link>https://www.rostrum.blog/2021/05/07/encrypted-rmd/</link>
      <pubDate>Fri, 07 May 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2021/05/07/encrypted-rmd/</guid>
      <description>An attempted knitting/padlock visual pun with stitch markers.  tl;dr You can knit an R Markdown file to an encrypted HTML with {encryptedRmd} and put it online with GitHub Pages. Users must enter the decryption key to download and view the content.
 TinkR TailR I’m working on a personal project that outputs an HTML document rendered from an R Markdown file. I want to password-protect and share it with a specific person somehow.</description>
    </item>
    
    <item>
      <title>Up-to-date blog stats in your README</title>
      <link>https://www.rostrum.blog/2021/04/14/gha-readme/</link>
      <pubDate>Wed, 14 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2021/04/14/gha-readme/</guid>
      <description>Yesterday’s render of the GitHub README for this blog.  tl;dr You can use a scheduled GitHub Action to render up-to-date stats about your blog into its README.
 Happy blogday This blog has been knocking around for three years now. I wrote a post on its first birthday with a simple, interactive 2D plot of the posts to date.
Only now, two years later, have I thought to put this info into the blog’s README on GitHub—along with some other little stats, like total number of posts—and have it update automatically on a schedule using a GitHub Action.</description>
    </item>
    
    <item>
      <title>Ninja scaffolding for {xaringan}</title>
      <link>https://www.rostrum.blog/2020/03/22/ninja-scaffold/</link>
      <pubDate>Sun, 22 Mar 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/03/22/ninja-scaffold/</guid>
      <description>Example of modified Ninjutsu for ‘scaffolding’ a {xaringan} slide.  tl;dr Emi Tanaka‘s Ninjutsu CSS for {xaringan} breaks slides into ’cells’, which are useful for arranging plots, tables, etc. I’ve been experimenting with Emi’s CSS to create my own layouts.
 Slide themes The {xaringan} package by Yihui Xie – an implementation of remark.js – lets you create reproducible slides with R.
You can create your own themes for {xaringan} by supplying some CSS.</description>
    </item>
    
    <item>
      <title>Iterate parameterised {xaringan} reports</title>
      <link>https://www.rostrum.blog/2020/03/12/knit-with-params/</link>
      <pubDate>Thu, 12 Mar 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/03/12/knit-with-params/</guid>
      <description>Driving a Wedge (via Giphy)  tl;dr You want to use R to generate multiple reports from a single template, each containing different data.
How? Create a parameterised RMarkdown template with a params YAML argument. Iterate over param values with rmarkdown::render() inside purrr::map().
I made a demo of this approach that focuses on parameterised {xaringan} slides. It includes a further {purrr} step with pagedown::chrome_print() to render the HTML outputs to PDF.</description>
    </item>
    
    <item>
      <title>Reproducibility in R: three things</title>
      <link>https://www.rostrum.blog/2020/01/22/repro-three-things/</link>
      <pubDate>Wed, 22 Jan 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/01/22/repro-three-things/</guid>
      <description>Avoid being this guy (Threddy the T. rex via Giphy)  Reproducevangelism I spoke at the Department for Education’s Data Science Week. I wanted everyone – newer and more experienced users alike – to learn at least one new thing about reproduciblity with R and RStudio.
The slides are embedded below and you can also get them fullscreen online (press ‘F’ for fullscreen and ‘P’ for presenter notes) and find the source on GitHub.</description>
    </item>
    
    <item>
      <title>Package a {xaringan} template</title>
      <link>https://www.rostrum.blog/2019/05/24/xaringan-template/</link>
      <pubDate>Fri, 24 May 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/05/24/xaringan-template/</guid>
      <description>A remarkable ninja The {xaringan} package by Yihui Xie implements remark.js1 in R Markdown so you can create exciting presentations that contain reproducible R content.2
Yihui has encouraged people to submit styles—like the RLadies theme—to enrich {xaringan}.
This post is about a specific theme I recreated for {xaringan} and shared in the {gdstheme} package along with an R Markdown template.
Click on the slides embedded below and cycle through with your arrow keys, or you can open them fullscreen in a dedicated browser tab.</description>
    </item>
    
    <item>
      <title>Teaching R with Pokémon Go data</title>
      <link>https://www.rostrum.blog/2018/11/04/r-train-pkmn/</link>
      <pubDate>Sun, 04 Nov 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/11/04/r-train-pkmn/</guid>
      <description>Psyduck hurt itself in its confusion (via Giphy)  You teach me and I’ll teach you I wrote in a recent post about some training materials I wrote for teaching R Markdown.
Now I’m sharing another thing I made: Beginner R and RStudio Training (featuring Pokémon!). It’s an introduction to R, RStudio, R Projects, directory structure and the tidyverse. It uses Pokémon Go1 data that I collected myself.2
You can:</description>
    </item>
    
    <item>
      <title>Knitting Club: R Markdown for beginners</title>
      <link>https://www.rostrum.blog/2018/09/24/knitting-club/</link>
      <pubDate>Mon, 24 Sep 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/09/24/knitting-club/</guid>
      <description>Knitting simulator by Kara Stone and Gabby DaRienzo (via Giphy)  tl;dr I made a couple of training resources about R Markdown for reproducibility:
 Knitting Club (see the slides or source) Quick R Markdown (see the slides or source).  Click the resource names to jump straight to those sections.
 Reproducibility It’s often important to recreate and verify prior work, as well as update it in future as data changes.</description>
    </item>
    
    <item>
      <title>Iterative R Markdown reports for Dawson&#39;s Creek</title>
      <link>https://www.rostrum.blog/2018/06/26/mail-merge/</link>
      <pubDate>Tue, 26 Jun 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/06/26/mail-merge/</guid>
      <description>Dawson’s Creek’s Dawson leaks  tl;dr You have customer details. You want to send each person a personalised letter from a template. You want to mail merge, basically.1
This post shows how you can use R to iteratively produce separate Microsoft Word reports from a common template, each one with slightly different data. Here I use R Markdown and the {knitr} package to render a separate report about each episode of Dawson’s Creek (a classic use case!</description>
    </item>
    
  </channel>
</rss>