Using Distill in R Markdown to Start a Blog 🏗️

Quick steps to start a Blog in R

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:
  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.

Data Analyst & Computer Science Student. Opinions are my own. 🤓😎

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