Skip to content
R for the Rest of Us Logo

Resources

This carefully curated collection of resources will help you find packages and learning resources to help you on your R journey.

Screenshot of How to write your own R package and publish it on CRAN

How to write your own R package and publish it on CRAN

A tutorial on how to write your own R package and publish it on CRAN

Screenshot of hrbrthemes

hrbrthemes

Additional Themes, Theme Components and Utilities for ggplot2

Screenshot of I ❤️ Leaflet: Using Plots as Markers

I ❤️ Leaflet: Using Plots as Markers

This blog post is part of the 'I love leaflet' series and provides tips and tricks for working with the leaflet R package. The post showcases how to create a map showing the results of the 2019 UK General election in Oxfordshire using the leaflet package.

Screenshot of Images as Facet Labels in ggplot2

Images as Facet Labels in ggplot2

In this tutorial by Dr. U, readers learn how to use ggplot2 in conjunction with ggtext and ggh4x to replace facet labels with images, specifically country flags. After loading the necessary packages, the tutorial explains how to retrieve and preprocess country codes and names using the jsonlite package. It guides through joining the country code data with the gapminder dataset and handling missing countries. Steps to download flag images and integrate them into ggplot2 faceting are then provided. The post details creating markdown with ggtext to display images within the plot, enhancing data visualization in R.

Screenshot of Interactive web-based data visualization with R, plotly, and shiny

Interactive web-based data visualization with R, plotly, and shiny

This book provides insight and practical skills for creating interactive and dynamic web graphics for data analysis using R, plotly, and shiny.

Screenshot of Introduction to Geospatial Raster and Vector Data with R

Introduction to Geospatial Raster and Vector Data with R

This lesson covers how to open, work with, and plot vector and raster-format spatial data in R. It also includes topics such as working with spatial metadata, reprojecting spatial data, and working with raster time series data.

Screenshot of Introduction to mapping with {sf} & Co.

Introduction to mapping with {sf} & Co.

This blog post is an extended version of a presentation on mapping using the {sf} package and other related packages in R. It covers topics such as reading and exploring spatial data, manipulating attributes, geomatics processing, and creating static and interactive maps. The post also touches on the importance of projections and provides an example of projecting the map of Metropolitan France. The code for the different maps presented in the post is included.

Screenshot of Introduction to Open Data Science: GitHub

Introduction to Open Data Science: GitHub

This chapter covers the topic of using GitHub for collaboration in open data science projects. It includes objectives and resources for learning about Git and GitHub, setting up Git & GitHub, creating and cloning repositories, syncing files between local and remote repositories, exploring remote GitHub, and collaborating with GitHub.

Screenshot of Iterate parameterised {xaringan} reports

Iterate parameterised {xaringan} reports

Learn how to iterate parameterised xaringan reports using R. This tutorial demonstrates how to create a parameterised R Markdown template and iterate over parameter values to generate multiple reports with different data.

Screenshot of Iterated fact sheets with R Markdown

Iterated fact sheets with R Markdown

This article explains how to use R Markdown to create iterated fact sheets. It provides an overview of R Markdown, discusses the necessary ingredients for creating multiple fact sheets, and provides examples using the bad_drivers dataset.

Screenshot of Jazz up your ggplots!

Jazz up your ggplots!

This blog post from USGS VizLab outlines various methods to customize data visualizations using ggplot2 and its extension packages in R. It discusses enhancing plots with custom themes, fonts, annotations, effects, shapes, highlights, and animations. The authors provide comprehensive code examples for each technique, encouraging reproducibility and the use of ggplot2 ecosystem rather than external design software. The blog also features a guide on how to read it effectively, including executing data-wrangling steps, installing necessary packages, and incorporating showtext for fonts.