R resources - NOAA-EDAB/seaside GitHub Wiki

There are many great references for learning R, from beginner to advanced levels. There are also many great packages to aid in furthering research. Here are some of our recommended resources:

Courses/Blogs/Books

R Resources

  • R for Data Science: An online book by Hadley Wickham, Mine Çetinkaya-Rundel, and Garrett Grolemund.

  • Advanced R: An online book by Hadley Wickham.

  • R packages: An online book by Hadley Wickham and Jenny Bryan.

Git and GitHub Resources

R Packages

Development and Documentation

  • tidyverse: A collection of R packages designed for data science, including ggplot2, dplyr, tidyr, readr, purrr, and more.

  • reprex: A package for creating reproducible examples in R, making it easier to share code and data with others.

  • devtools: A package that provides functions to make package development easier, including functions for testing, building, and documenting packages.

  • usethis: A package that provides functions to streamline package development, including functions for setting up package structure, managing dependencies, and creating documentation.

  • roxygen2: A package for documenting R code, allowing you to write documentation in the source code and automatically generate help files.

  • testthat: A package for unit testing in R, making it easier to write and run tests for your code.

  • pkgdown: A package for creating websites for R packages, making it easy to share documentation and examples.

  • knitr: A package for dynamic report generation in R, allowing you to combine R code and output with narrative text in a single document.

  • rmarkdown: A package for creating dynamic documents, presentations, and reports in R, using a simple markup language.

  • sinew: A package for generating roxygen2 skeletons populated with information scraped from the function script.

  • here: A package for managing file paths in R projects, making it easier to work with relative paths and project directories.

  • rticles: A collection of R Markdown templates for writing articles, reports, and presentations in various formats, including journal articles, conference papers, and more.

Data Manipulation and Visualization

  • httr: A package for working with HTTP in R, providing functions for making API requests and handling web data.

  • xml2: A package for working with XML data in R, providing functions for parsing and generating XML documents.

  • gt: A package for creating beautiful tables in R, providing functions for formatting and styling data frames.

  • sf: A package for working with spatial data in R, providing functions for reading, writing, and manipulating spatial objects.

  • glue: A package for string interpolation in R, allowing you to create dynamic strings with embedded R expressions.

  • ncdf4: A package for reading and writing NetCDF files in R, commonly used for storing large scientific datasets.

  • terra: A package for working with raster data in R, providing functions for reading, writing, and manipulating raster datasets.

Fisheries

  • stocksmart: A data package of all Federally managed stocks in the United States, providing individual stock reference points, and time series data on Catch, Abundance, Recruitment, and Fishing mortality.

  • comlandr: A package for working with commercial landings data in R, providing functions for accessing and manipulating commercial fisheries data from the NOAA Fisheries database.

  • survdat: A package for working with survey data in R, providing functions for accessing and manipulating survey data from the NOAA Fisheries database.

  • Rpath: A package implementing the ecosystem model Ecopath with Ecosim

  • tinyvast: A package for working with the VAST (Vector Autoregressive Spatio-Temporal) model in R, providing functions for fitting and predicting spatial and temporal patterns in ecological data.