The stringr package provides an easy to use toolkit for working with strings, i.e. character data, in R. This cheatsheet guides you through stringr’s functions for manipulating strings. The back page provides a concise reference to regular expresssions, a mini-language for describing, finding, and matching patterns in strings. Updated 10/17.
- Learning Roadmap
- Events
-
Important RStudio Sites
- Important RStudio Sites
- shiny
- R Markdown
- tidyverse
- Databases
- sparklyr
The Latest Resources
Package Development Cheat Sheet
The devtools package makes it easy to build your own R packages, and packages make it easy to share your R code.
Data Visualization Cheat Sheet
The ggplot2 package lets you make beautiful and customizable plots of your data.
Shiny Cheat Sheet
This cheat sheet provides a tour of the Shiny package and explains how to build and customize an interactive app.
RStudio IDE Cheat Sheet
No matter what you do with R, the RStudio IDE can help you do it faster. This cheat sheet will guide you through the most useful features of the IDE, as well as the long list of keyboard shortcuts.
R Markdown Cheat Sheet
R Markdown is an authoring format that makes it easy to write reusable reports with R.
Sparklyr Cheat Sheet
Sparklyr provides an R interface to Apache Spark, a fast and general engine for processing Big Data.
Data Transformation Cheat Sheet
This cheat sheet will guide you through the grammar, reminding you how to select, filter, arrange, mutate, summarise, group, and join data frames and tibbles.
Data Import Cheat Sheet
The Data Import cheat sheet reminds you how to read in flat files with the readr package and work with the results as tibbles, and reshape messy data with tidyr.
Apply Functions Cheat Sheet
This cheatsheet will remind you how to manipulate lists with purrr as well as how to apply functions iteratively to each element of a list or vector.
Dates and Times Cheat Sheet
This lubridate cheatsheet covers how to round dates, work with time zones, extract elements of a date or time, parse dates into R and more.
Deep Learning with Keras Cheat Sheet
Keras is a high-level neural networks API developed with a focus on enabling fast experimentation.
Tidy Evaluation with rlang Cheat Sheet
Tidy Evaluation (Tidy Eval) is a framework for doing non-standard evaluation in R that makes it easier to program with tidyverse functions.
Factors with forcats Cheat Sheet
This cheatsheet reminds you how to make factors, reorder their levels, recode their values, and more.
Python with R and Reticulate Cheat Sheet