Using Distill in R Markdown to Start a Blog 🏗️

I previously read this RStudio blog post on the Distill package earlier this month. The aesthetic and features were impressive to me (particularly site-wide search). Had some time to try it out today. Here are the short and simple steps I took to start a blog using Distill.

Note: this article assumes you have some prior experience with R Markdown. Skim over this book to learn more about R Markdown.

  1. Skimmed the official website for Distill and page on creating a blog.
  2. Installed the package: install.packages('distill')
  3. Opened a New Project in RStudio to start a new Distill Blog. See official page for screenshot.
  4. Knit the R markdown files to see how the default looked.
  5. Adjusted R markdown files as needed (added icons, added first post, and updated about tab). Knit files again.
  6. Pushed the _site sub-directory files produced after Knitting to my blog repo on Github. Repo should be setup to publish onto Github Pages in repo settings.
  7. Done! Blog updated.

Simple as that. Here is what it looks like right now. Hope this is helpful.




Clinical Data Analyst & Computer Science Student. Opinions are my own.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Road to Offering Plotly On-Premise

Object Relationships in Basic Ruby

Intro to Phys Comp Blog

Denis Klok v Mircea Alexandru Jecan LiveStream:

Online live stream search engine

The One True Thing I Can Tell You About Divorce

Send Stellar Lumens ($XLM) using Alexa

Program Management for Humans

One year of Heptio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Clinical Data Analyst & Computer Science Student. Opinions are my own.

More from Medium

The Modern-Day Doctor Lives in the Cloud

Under the Hood: Modifying AddLinesVC to allow for wildcards in all procedures

Managing negative thoughts

Tone Analysis of MLK’s “I have a dream…”