screenshot of Blogdown


Create Blogs and Websites with R Markdown


The blogdown package is designed to provide a customizable website output format for R Markdown. It allows users to create webpages featuring dynamic R code, automatically rendered output, and technical writing elements. The package uses Hugo, a popular open-source static website generator, to build the website content and supports other generators like Jekyll and Hexo. One useful feature of blogdown is the ability to organize website content within subdirectories, making it suitable for creating general-purpose websites related to data science, statistics, data visualization, programming, or education.


  • Powerful and customizable website output format for R Markdown
  • Supports R code and other programming languages
  • Automatically renders output such as graphics, tables, analysis results, and HTML widgets
  • Includes technical writing elements like citations, footnotes, and LaTeX math


To install the blogdown package, you can use the following command:


If you prefer to use the development version of the package, you can install it from GitHub using the remotes package:



The blogdown package is a powerful tool for creating customizable websites using R Markdown. It allows users to incorporate dynamic code, render output, and include technical writing elements in their webpages. The package supports popular static website generators like Hugo, Jekyll, and Hexo, making it flexible for different website building needs. Overall, blogdown is a valuable resource for anyone looking to create data-driven websites or blogs using R.


Hugo is an open-source static site generator that features fast build times, flexible themes, support for multiple content formats, multilingual websites, live reloading, and an active community. It allows developers to easily create and deploy SEO-friendly and mobile-responsive websites.