List of R packages

In the table below, you can find a list of R packages with a short description and some links for further reading. The package selection is based on my personal experience and packages that I regularly use and like. The list is in no way complete. If you know a useful package that I missed, let me know and I can add it to the list.

Package Keywords Description Links
tidyverse tidyverse, data analysis Collection of packages designed for data analysis. The packages are designed to work smoothly together website, learning resources
dplyr tidyverse, data manipulation Part of the tidyverse. Package for data manipulation: filtering, selecting and arranging data, summarizing data (e.g. calculating summaries by group), … website, cheatsheet
readr tidyverse, data import and export Part of the tidyverse. Package for data import and export (csv, txt, other delimited files) website, cheatsheet
readxl data import and export Functions to import and export excel files from multiple sheets into R as tibbles package documentation
ggplot2 tidyverse, data visualization Part of the tidyverse. Data visualization website, cheatsheet
patchwork data visualization Easy syntax for combining multiple plots into one. Easy control of plot layout, common legends, plot annotations and labels website with different articles to get started
tidyr tidyverse, data cleaning Part of the tidyverse. Transforming tables to bring them in a tidy format for further analysis website, cheatsheet
stringr tidyverse, string manipulation Part of the tidyverse. Toolkit for working with strings. String manipulation: extracting strings, substrings, find patterns in strings, replace patterns in strings, … website, cheatsheet
lubridate dates and times Makes it easy to work with dates and times: convert strings to date time objects, calculate with times (intervals, periods, …) and plot time series cheatsheet, website
forcats factors, categorical variables Part of the tidyverse. Working with factors (categorical data types). Renaming, reordering, summarizing categories, … website, cheatsheet
data.table fast data analysis, big data Extremely fast and memory efficient data transofmrations in R. The package uses a different syntax from base R and the tidyverse. However, data.tables are also data frames so you can use them either with data.table syntax or with base R/tidyverse syntax website, cheatsheet
collapse fast data analysis, big data Packag for fast data manipulation. Well integrated with dplyr and data.table. Provides fast functions for data transformation, aggregation, linear models, statistical functions, grouping, … Have a look at it if you have large data sets and your data operations take a long time package on github, cheatsheet
ggsci colors, data visualization Provides additional color scales to ggplot website
ggthemes colors, themes, data visualizations Provides additional color scales and themes to ggplot theme gallery
usethis utility, workflow Provides useful utility functions around R and Rstudio workflows: project setup, git, github, licenses, package development, … website
styler utility Automatically format your code according to the tidyverse style guide. This ensures that your coding style follows good practice website
here utility Makes file referencing and relative paths easy website
sjPlot statistics, data visualizations Collection of plotting and table output functions for data visualization of statistical results website