blogdown
Create Blogs and Websites with R Markdown
blogdown is an R package that enables you to create websites using R Markdown documents. It integrates with static site generators like Hugo to build sites that can include executable R code, rendered outputs (graphics, tables, widgets), and technical writing elements like citations and LaTeX math.
The package is designed for creating flexible, general-purpose websites beyond simple blogs, allowing you to organize content in subdirectories unlike other R Markdown website solutions. It provides live preview functionality that automatically rebuilds and refreshes your site as you edit files. blogdown supports multiple static site generators and thousands of themes, making it suitable for data science portfolios, documentation sites, educational materials, and technical blogs.
Contributors#
Resources featuring blogdown#
Data Science Hangout | Javier Orraca-Deatcu, Centene | Excel to data science to lead ML engineer
We were joined by Javier Orraca-Deatcu, Lead Machine Learning Engineer at Centene.
Among many topics covered, Javier shared how his background in finance and consulting led to his interest in data science to automate some of his work - and how he helped get other data scientists together in his organization.
(26:31) How did you organize and recruit people for the data science community group at Centene?
So I sort of piggybacked from a general data science community chat that we had at the company. There were several hundred people on this of varying backgrounds and expertise levels so there was a lot of conversation happening. There was already a Python group that was meeting– I think every other month.
So three weeks after I started, I got really excited about the possibility of potentially creating something similar for R users.
-
It started by just trying to figure out who owns that already existing data science chat and see if they could help support the idea of creating an R user group, something to meet once a month or once every two months. At larger companies especially, getting that type of top-level executive stamp of approval and support can go a long way, especially if that individual is part of the already existing IT or data science function.
-
At the time, I created a Blogdown site. For those of you who are familiar with R Markdown, Blogdown is a package that allows you to create static websites and blogs with R Markdown. Now with Quarto you can do the same thing and create websites. I love the syntax of Quarto.
-
We had partnerships with Posit, so we were able to get some people to come in and do workshops as well.
-
We also had reticulate sessions, where it was a co-branded Python & R workshop where we were looking at ways in which we can actually communicate between teams of different languages a lot easier. I had a great experience with it. Everyone was so collaborative and it was such a great way to see the excitement around what you could do with both R and Python.
I think what started as 13 users the first month, jumped to about 100 - 125 monthly users on this monthly meetup.
…And on the journey to machine learning engineer, what was the hardest part? (49:10):
Because of SQL, I had a really good understanding of at least how tabular data could be joined and the different transformations that could be done to these data objects.
I think I would have really struggled without that basic understanding. But having said that, I think the part where I really struggled at first was function writing. Function writing was not intuitive to me.
Basic function writing was but in general, I found it to be very complicated and it took a solid three to six months of practice to feel actually comfortable with it.
Even when I started building Shiny apps– basic Shiny is quite easy but large functions underpin the entirety of a Shiny app. Everything you do within Shiny is effectively writing functions.
The process of learning Shiny and becoming more comfortable with Shiny was very difficult and something that just took a lot of repetitions but it all sort of played together.
While people may think of Shiny more as a frontend type of system, it did make me a much better programmer in the way I thought about actual functions and function writing.
Other things that I found hard, looking back, I’m sort of embarrassed to say this, was reproducibility of machine learning – being able to reproduce a code set and get the exact same predictions every time.
I wasn’t quite sure why this wasn’t working or how to create these fixed views, setting a seed or whatever you need to do to ensure that someone else downstream could replicate your study or analysis and get the exact same findings themselves.
► Subscribe to Our Channel Here: https://bit.ly/2TzgcOu
Follow Us Here: Website: https://www.posit.co LinkedIn: https://www.linkedin.com/company/posit-software Twitter: https://twitter.com/posit_pbc
To join future data science hangouts, add to your calendar here: pos.it/dsh (All are welcome! We’d love to see you!)
Bryan Shalloway | From summarizing projects to setting tags, uses of parsing R files | RStudio
I’ll walk through a few potential uses of parsing out the functions and packages in projects.
Creating a reference table: With so many #rstats learning materials out there, it’s often helpful to parse-out the functions from a project and create a lookup table that complements your notes. Analyzing files: A network visualization of the packages may provide insights as to which files or projects are most related to one another as well as which packages are most central to a body of work. Setting tags: Picking good consistent tags for your blogdown website is hard. It’s easier to just parse out the packages in each post and use those to organize your website. Examples will use helpers from the new {funspotr} package: https://github.com/brshallo/funspotr/
Talk materials are available at https://github.com/brshallo/funspotr-rstudioconf2022
Session: Just typing R code: advanced R programming
BioC 2022 - Hello, Quarto!
Mine Çetinkaya-Rundel, PhD., Professor of the Practice at Duke University, Data Scientist and Professional Educator at RStudio, Inc., gives her keynote presentation at the Bioconductor Conference 2022. Dr. Cetinkaya presents Quarto, an open-source scientific and technical publishing system built on Pandoc.
Dr. Mine began her presentation by introducing Quarto and her personal experience using and teaching it to others. She then continued by giving an overview of the R Markdown ecosystem which includes packages like xaringa, Distill, Blogdown, Rmarkdown, and more. She explained the use of Quarto with these packages along with some other Quarto highlights. Afterward, Dr. Mine gave her first demo of Quarto which included setting up and sharing some handy features. Dr. Mine also gives another demonstration on publishing with Quarto and an overview of the features of collaboration. Dr. Mine then gives a second demonstration of collaborating and teaching with Quarto. To wrap up the presentation, Dr. Mine shared about reimagining open source and the work done by Openscapes and their mission for open practices accelerating data-driven solutions, and increasing diversity, equity, inclusion, and belonging in science. The presentation ended with a questions and answers session from the audience.
Main Sections
0:00 Introduction 4:29 Quarto! 6:12 Share 10:57 The R Markdown ecosystem 11:59 Quarto highlights 13:40 Demo of Quarto 21:40 Demo Quarto Publishing 22:58 Quarto rundown 25:23 Collaborate 28:43 Demo 2 34:07 Teaching with Quarto 40:39 Reimagine 44:03 Q&A and Resources
More Resources
Bioconductor Conference Site: https://bioc2022.bioconductor.org/ BioC2022 Github: https://github.com/Bioconductor/BioC2022
Main Site: https://www.r-consortium.org/ News: https://www.r-consortium.org/news Twitter: https://twitter.com/Rconsortium LinkedIn: https://www.linkedin.com/company/r-consortium

Isabella Velásquez | Building a Blog with R | RStudio
Building a Blog With R Presented by: Isabella Velásquez
Here are a bunch of resources Isabella shared ⤵️
Slides from the presentation: https://lnkd.in/gqGFmHMf Internal Blog Example: https://lnkd.in/gaFPxN5F Other resources from the talk: https://lnkd.in/gjXxeMaa
Distill Resources: 1️⃣ Distill for R Markdown: https://lnkd.in/gWsEBXfN 2️⃣ Building a blog with distill by Tom Mock: https://lnkd.in/gQiE8PC2 3️⃣ (Re-)introducing Distill for R Markdown: https://lnkd.in/gzidDpV2 4️⃣ The distillery: https://lnkd.in/gwDAg_7G 5️⃣ Postcards package: https://lnkd.in/geT6uB9t
Blogdown Resources:
1️⃣ blogdown: Creating Websites with R Markdown: https://lnkd.in/gGQ-fCWw 2️⃣ Hugo Themes: https://themes.gohugo.io/ 3️⃣Hugo Apéro: https://lnkd.in/g8U9tfvq 4️⃣ A Blogdown New Post Workflow with Github and Netlify: https://lnkd.in/gYNwsKTm
The R programming language is known for its applications to data science, but one of its best assets is the inviting community. Folks from around the world share their lessons learned, best practices, and code to support and inspire others. One tool that helps contribute to the thriving community is the blog.
A blog is a wonderful opportunity to record your data stories, gain exposure for your expertise, and support others in their R journey. Thanks to the advancement of tools like R Markdown, you can quickly get up and running with a blog and focus on customization and style.
In this talk, we will discuss possible reasons for creating a blog, the pros and cons of a blog, and how to decide on topics. We will then explore tools for creating your blog that make it easy to showcase your R skills, such as blogdown and distill.
At RStudio, we are always looking for stories of how you are using R for your work, community, or for fun. If this talk inspires you to start writing, we would love for you to contribute to the RStudio blog: https://www.rstudio.com/blog/
Speaker Bio: Isabella Velásquez: Isabella is a content strategist, author, and active member of the R community. Currently, she works at RStudio as a Sr. Product Marketing Manager with the goal of driving engagement around all the awesome things happening at RStudio. In her previous role, she conducted data analysis and research, developed infrastructure to support use of data, and created resources to engage technical and non-technical audiences. She channels these experiences to illuminate what is possible with great products
Yihui Xie | One R Markdown Document, Fourteen Demos | RStudio (2020)
R Markdown is a document format based on the R language and Markdown to intermingle computing with narratives in the same document. With this simple format, you can actually do a lot of things. For example, you can generate reports dynamically (no need to cut-and-paste any results because all results can be dynamically generated from R), write papers and books, create websites, and make presentations. In this talk, I’ll use a single R Markdown document to give demos of the R packages rmarkdown,
- bookdown for authoring books (https://bookdown.org ),
- blogdown for creating websites (https://github.com/rstudio/blogdown) ,
- rticles for writing journal papers (https://github.com/rstudio/rticles) ,
- xaringan for making slides (https://github.com/yihui/xaringan) ,
- flexdashboard for generating dashboards (https://github.com/rstudio/flexdashboard) ,
- learnr for tutorials (https://github.com/rstudio/learnr) ,
- rolldown for storytelling (https://github.com/yihui/rolldown) ,
And the integration between Shiny and R Markdown. To make the best use of your time during the presentation, I recommend you to take a look at the rmarkdown website in advance: https://rmarkdown.rstudio.com
Rebecca Barter | Becoming an R blogger | RStudio (2020)
Blogging is an excellent way to learn, improve your communication skills, and gain exposure in the R and data science communities. In this talk, I will discuss how and why I started blogging, and why you should too. I will guide you through choosing topics, writing your blog using RStudio and blogdown, hosting it on netlify, and sharing your blog with the world. This talk is for you if you’ve wanted to start a blog on R, data science, or to showcase your data analyses, but don’t know where to start.
Materials: github https://github.com/rlbarter/rstudio-conf-2020-blogger-slides slides (pdf) https://github.com/rlbarter/rstudio-conf-2020-blogger-slides/blob/master/Becoming%20an%20R%20blogger
Introduction to Blogdown (R Package) | RStudio Webinar - 2017
This is a recording of an RStudio webinar. You can subscribe to receive invitations to future webinars at https://www.rstudio.com/resources/webinars/ . We try to host a couple each month with the goal of furthering the R community’s understanding of R and RStudio’s capabilities.
We are always interested in receiving feedback, so please don’t hesitate to comment or reach out with a personal message.
Read more on our blog: https://blog.rstudio.com/2017/09/11/announcing-blogdown/
