awesome-R
A curated list of awesome R packages, frameworks and software.
https://github.com/qinwf/awesome-R
Last synced: 20 days ago
JSON representation
2017
Book/monograph Lists and Reviews
- awesome-awesomeness
- CC BY-NC-SA 4.0
- tidyverse - Easily install and load packages from the tidyverse
- purrr - A functional programming toolkit for R
- xaringan - Create HTML5 slides with R Markdown and the JavaScript library
- blogdown - Create Blogs and Websites with R Markdown
- glue - Glue strings to data in R. Small, fast, dependency free interpreted string literals.
- reticulate - R Interface to Python
- tensorflow - TensorFlow for R
- lists
- awesome-rshiny
- reprex - Render bits of R code for sharing, e.g., on GitHub or StackOverflow.
2018
Book/monograph Lists and Reviews
2019
2020
- lightgbm <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Light Gradient Boosting Machine.
- torch - Tensors and Neural Networks with 'GPU' Acceleration.
- gt - Easily generate information-rich, publication-quality tables from R
2023
Bayesian
- coda - Output analysis and diagnostics for MCMC.
- mcmc - Markov Chain Monte Carlo.
- MCMCpack - Markov chain Monte Carlo (MCMC) Package.
- R2WinBUGS - Running WinBUGS and OpenBUGS from R / S-PLUS.
- BRugs - R interface to the OpenBUGS MCMC software.
- rjags - R interface to the JAGS MCMC library.
- rstan <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - R interface to the Stan MCMC software.
- brms - High-level interface for Bayesian regression models using Stan.
- coda - Output analysis and diagnostics for MCMC.
- mcmc - Markov Chain Monte Carlo.
- R2WinBUGS - Running WinBUGS and OpenBUGS from R / S-PLUS.
- BRugs - R interface to the OpenBUGS MCMC software.
- rjags - R interface to the JAGS MCMC library.
Bioinformatics and Biostatistics
- nlme - Mixed-effects models, handling user-specified matrix of residual covariance, relevant for the anaysis of repeated observations in longitudinal trials.
- glmmTMB - Generalized mixed-effects models, handling user-specified matrix of residual covariance, relevant for the anaysis of repeated observations in longitudinal trials.
- Bioconductor <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Tools for the analysis and comprehension of high-throughput genomic data.
- genetics - Classes and methods for handling genetic data.
- gap - An integrated package for genetic data analysis of both population and family data.
- ape - Analyses of Phylogenetics and Evolution.
- pheatmap - Pretty heatmaps made easy.
- genetics - Classes and methods for handling genetic data.
- gap - An integrated package for genetic data analysis of both population and family data.
- ape - Analyses of Phylogenetics and Evolution.
- Bioconductor <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Tools for the analysis and comprehension of high-throughput genomic data.
Books
Book/monograph Lists and Reviews
- R Books List - List of R Books.
- Readings in Applied Data Science - These readings reflect Hadley's personal thoughts about applied data science.
Free and Online
- _R Cookbook_ by Winston Chang - A problem-oriented online book that supports his R Graphics Cookbook, 2nd ed. (2018).
- _Advanced R_, 2nd ed. by Hadley Wickham (2019) <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - An online version of the Advanced R book.
- _R Packages_, 2nd ed. by Hadley Wickham & Jennifer Bryan - A book (in paper and website formats) on writing R packages.
- _Exploratory Data Analysis with R_ by Roger D. Peng (2016) - Basic analytical skills for all sorts of data in R.
- _R Programming for Data Science_ by Roger D. Peng (2019) - More advanced data analysis that relies on R programming.
- _Report Writing for Data Science in R_ by Roger D. Peng (2019) - R-based methods for reproducible research and report generation.
- _R for SAS and SPSS users_ by Bob Muenchen (2012) - An excellent resource for users already familiar with SAS or SPSS.
- _The R Inferno_ by Patrick Burns (2011) - Patrick Burns gives insight into R's ins and outs along with its quirks!
- The R Programming Wikibook - A collaborative handbook for R.
- _R Cookbook_ by Winston Chang - A problem-oriented online book that supports his R Graphics Cookbook, 2nd ed. (2018).
- _Efficient R Programming_ by Colin Gillespie & Robin Lovelace (2017) - An online version of the O’Reilly book: Efficient R Programming.
Paid
- The Art of R Programming - It's a good resource for systematically learning fundamentals such as types of objects, control statements, variable scope, classes and debugging in R.
- _R Cookbook_, 2nd ed. by JD Long & Paul Teetor (2019) - A quick and simple introduction to conducting many common statistical tasks with R.
- R in Action - This book aims at all levels of users, with sections for beginning, intermediate and advanced R ranging from "Exploring R data structures" to running regressions and conducting factor analyses.
- _Use R!_ Series by Springer - This series of inexpensive and focused books from Springer publish shorter books aimed at practitioners. Books can discuss the use of R in a particular subject area, such as Bayesian networks, ggplot2 and Rcpp.
- Learning R Programming - Learning R as a programming language from basics to advanced topics.
- The Art of R Programming - It's a good resource for systematically learning fundamentals such as types of objects, control statements, variable scope, classes and debugging in R.
- _R Cookbook_, 2nd ed. by JD Long & Paul Teetor (2019) - A quick and simple introduction to conducting many common statistical tasks with R.
- Learning R Programming - Learning R as a programming language from basics to advanced topics.
Database Management
- RODBC - ODBC database access for R.
- RMySQL - R interface to the MySQL database.
- ROracle - OCI based Oracle database interface for R.
- RPostgreSQL - R interface to the PostgreSQL database system.
- RSQLite - SQLite interface for R
- RJDBC - Provides access to databases through the JDBC interface.
- RCassandra - Direct interface (not Java) to the most basic functionality of Apache Cassandra.
- RODBC - ODBC database access for R.
- elastic - Wrapper for the Elasticsearch HTTP API
- odbc - Connect to ODBC databases (using the DBI interface)
- RMySQL - R interface to the MySQL database.
- ROracle - OCI based Oracle database interface for R.
- RPostgres - an DBI-compliant interface to the postgres database.
- RSQLite - SQLite interface for R
- RJDBC - Provides access to databases through the JDBC interface.
- redux - Redis client for R.
- RCassandra - Direct interface (not Java) to the most basic functionality of Apache Cassandra.
- RHive - R extension facilitating distributed computing via Apache Hive.
- RNeo4j - Neo4j graph database driver.
- DBI - Defines a common interface between the R and database management systems.
- RPostgreSQL - R interface to the PostgreSQL database system.
- RMariaDB - An R interface to MariaDB (a replacement for the old RMySQL package)
- rmongodb - R driver for MongoDB.
Data Formats
- arrow <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - An interface to the Arrow C++ library.
- readxl <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Read excel files (.xls and .xlsx) into R.
- writexl - Portable, light-weight data frame to xlsx exporter for R.
- feather <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Fast, interoperable binary data frame storage for Python, R, and more powered by Apache Arrow.
- RcppTOML - Rcpp Bindings to C++ parser for TOML files.
- qs - Quick serialization of R objects.
- yaml - R package for converting objects to and from YAML.
- haven - Improved methods to import SPSS, Stata and SAS files in R.
- jsonlite - A robust and quick way to parse JSON files in R.
- readr <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - A fast and friendly way to read tabular data into R.
- readODS - Read OpenDocument Spreadsheets into R as data.frames.
Data Manipulation
- ff - Data structures designed to store large datasets.
- data.table <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Fast data manipulation in a short and flexible syntax.
- reshape2 <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Flexible rearrange, reshape and aggregate data.
- broom <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Convert statistical analysis objects into tidy data frames.
- rlist - A toolbox for non-tabular data manipulation with lists.
- ff - Data structures designed to store large datasets.
- lubridate - A set of functions to work with dates and times.
- stringi <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - ICU based string processing package.
- bigmemory - Shared memory and memory-mapped matrices. The big* packages provide additional tools including linear models (biglm) and Random Forests (bigrf).
- fuzzyjoin - Join tables together on inexact matching.
- snakecase - Automatically parse and convert strings into cases like snake or camel among others.
- DataExplorer - Fast exploratory data analysis with minimum code.
- dplyr <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Fast data frames manipulation and database query.
- tidyr - Easily tidy data with spread and gather functions.
- stringr <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Consistent API for string processing, built on top of stringi.
Data Packages
- wbstats - Tools for searching and downloading data and statistics from the World Bank Data API and the World Bank Data Catalog API.
- engsoccerdata - English and European soccer results 1871-2016.
- ICON - complex systems & networks datasets from the Index of COmplex Networks (ICON) database webpage.
- RCOBOLDI - Import COBOL CopyBook data files directly into R as properly structured data frames. Package builds are available via Drat and DockerHub.
Finance
- quantmod <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Quantitative Financial Modelling & Trading Framework for R.
- pedquant - Public Economic Data and Quantitative Analysis
- TTR - Functions and data to construct technical trading rules with R.
- PerformanceAnalytics - Econometric tools for performance and risk analysis.
- zoo <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - S3 Infrastructure for Regular and Irregular Time Series.
- xts - eXtensible Time Series.
- tseries - Time series analysis and computational finance.
- fAssets - Analysing and Modelling Financial Assets.
- quantmod <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Quantitative Financial Modelling & Trading Framework for R.
- pedquant - Public Economic Data and Quantitative Analysis
- scorecard - Credit Risk Scorecard
Graphic Displays
- rgl - 3D visualization device system for R.
- Cairo - R graphics device using cairo graphics library for creating high-quality display output.
- misc3d - Powerful functions to deal with 3d plots, isosurfaces, etc.
- xkcd - Use xkcd style in graphs.
- plot3Drgl - Plotting Multi-Dimensional Data - Using 'rgl'
- ggfortify - A unified interface to ggplot2 popular statistical packages using one line of code.
- ggrepel - Repel overlapping text labels away from each other.
- ggalt - Extra Coordinate Systems, Geoms and Statistical Transformations for ggplot2.
- ggstatsplot - ggplot2 Based Plots with Statistical Details
- ggtech - ggplot2 tech themes and scales
- ggplot2 Extensions - Showcases of ggplot2 extensions.
- lattice - A powerful and elegant high-level data visualization system.
- corrplot - A graphical display of a correlation matrix or general matrix. It also contains some algorithms to do matrix reordering.
- Cairo - R graphics device using cairo graphics library for creating high-quality display output.
- extrafont - Tools for using fonts in R graphics.
- showtext - Enable R graphics device to show text using system fonts.
- animation - A simple way to produce animated graphics in R, using ImageMagick.
- imager - An image processing package based on CImg library to work with images and display them.
- hrbrthemes - 🔏 Opinionated, typographic-centric ggplot2 themes and theme components.
- waffle - 🍁 Make waffle (square pie) charts in R.
- dendextend - visualizing, adjusting and comparing trees of hierarchical clustering.
- idendro - interactive exploration of dendrograms (trees of hierarchical clustering).
- r2d3 - R Interface to D3 Visualizations
- Patchwork - Combine separate ggplots into the same graphic.
- httpgd - Asynchronous http server graphics device for R.
- ggtree - Visualization and annotation of phylogenetic tree.
- gganimate - Create easy animations with ggplot2.
High Performance
- Rcpp <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Rcpp provides a powerful API on top of R, make function in R extremely faster.
- compiler - speeding up your R code using the JIT
- Rcpp11 - Rcpp11 is a complete redesign of Rcpp, targetting C++11.
- cpp11 - cpp11 is a header-only R package that helps R package developers handle R objects with C++ code. It's similar to Rcpp but with different design trade-offs and features.
HTML Widgets
- heatmaply - Interactive heatmaps with D3.
- DiagrammeR <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Create JS graph diagrams and flowcharts in R.
- dygraphs - Charting time-series data in R.
- formattable <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Formattable Data Structures.
- ggvis <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Interactive grammar of graphics for R.
- Leaflet - One of the most popular JavaScript libraries interactive maps.
- MetricsGraphics - Enables easy creation of D3 scatterplots, line charts, and histograms.
- networkD3 - D3 JavaScript Network Graphs from R.
- scatterD3 - Interactive scatterplots with D3.
- rCharts <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Interactive JS Charts from R.
- rbokeh - R Interface to Bokeh.
- threejs - Interactive 3D scatter plots and globes.
- timevis - Create fully interactive timeline visualizations.
- visNetwork - Using vis.js library for network visualization.
- wordcloud2 - R interface to wordcloud2.js.
- highcharter - R wrapper for highcharts based on htmlwidgets
- echarts4r - R wrapper to Echarts version 4
- plotly <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Interactive ggplot2 and Shiny plotting with plot.ly.
- d3heatmap - Interactive heatmaps with D3 (no longer maintained).
Integrated Development Environments
- VSCode <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - vscode-R + vscode-r-lsp VSCode R Langauage Support
- RStudio <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - A powerful and productive user interface for R. Works great on Windows, Mac, and Linux.
- Emacs + ESS - Emacs Speaks Statistics is an add-on package for emacs text editors.
- Microsoft R - Revolution R would be offered free to academic users and commercial software would focus on big data, large scale multiprocessor functionality.
- R Commander - A package that provides a basic graphical user interface.
- Deducer - A Menu driven data analysis GUI with a spreadsheet like data editor.
- Jamovi - stats.org/) - Desktop software for both Bayesian and Frequentist methods, using a UI familiar to SPSS users.
- Bio7 - An IDE contains tools for model creation, scientific image analysis and statistical analysis for ecological modelling.
- RKWard - An extensible IDE/GUI for R.
- R Commander - A package that provides a basic graphical user interface.
- Sublime Text + R-IDE - Add-on package for Sublime Text 2/3.
- TextMate + r.tmblundle - Add-on package for TextMate 1/2.
- IRkernel <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - R kernel for Jupyter.
- Radiant - A platform-independent browser-based interface for business analytics in R, based on the Shiny.
- Nvim-R <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - Neovim plugin for R.
- RTVS - R Tools for Visual Studio.
- radian <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20"> - A modern R console with syntax highlighting.
Language API
- rJava - Low-level R to Java interface.