How to use a custom font in R with showtext and google fonts (CC262)
Channel: Riffomonas Project
Date: 2022-11-03

The best way to make your R visuals stand out from all the rest is to use a custom font. This can easily be done using the showtext R package with google fonts. Pat will show you how you can customize your fonts for the different text elements of your figure and webpage. The overall goal of this project is to highlight reproducible research practices using a number of tools. The specific output from this project will be a map-based visual that shows the level of drought across the globe. The website we generate in this episode can be found at https://www.riffomonas.org/drought_index.

You can find my blog post for this episode at https://www.riffomonas.org/code_club/2022-11-03-fonts.

#showtext #R #googlefonts #snakemake #Rstats #github

Support Riffomonas by becoming a Patreon member!
https://www.patreon.com/riffomonas

Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights.

If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/

You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: https://www.riffomonas.org/minimalR/
General data: https://www.riffomonas.org/generalR/

0:00 Introduction
3:01 Installing showtext
4:20 Picking and installing fonts from google fonts
7:42 Using google fonts on webpage