How to Install Packages

The following are instructions to install packages from within various ways to interact with R – within RStudio, the R GUI for Windows, or the R GUI for Macintosh OS.

General Packages

More Focused Packages

  • actel – Standardised analysis of acoustic telemetry data from fish moving through receiver arrays.
  • ALKrage-length keys [As of 16-Jan-19 this package has been archived on CRAN]
  • AnglerCreelSurveySimulationsimulate creel survey data
  • AquaticLifeHistoryfisheries life history analyses (e.g., length-at-age modelling using a multi-model approach, estimating age-at-maturity and length-at-maturity) using contemporary approaches as simple R functions.
  • BayesGrowthcombines length-at-age modelling for fisheries with MCMC implemented using Stan.
  • Bioenergetics 4.0a shiny app for bioenergetics modeling
  • Bioenergetics at ISEMPbioenergetics modeling as part of the Integrated Status and Monitoring Program
  • CatDynpopulation parameters from catch dynamics data
  • cuttlefish.modelPerform LPUE standardization and stock assessment of the English Channel cuttlefish stock using a two-stage biomass model
  • EGRETAn R-package for the analysis of long-term changes in water quality and streamflow, including the water-quality method Weighted Regressions on Time, Discharge, and Season
  • fecRCalculates fishing effort following the DG MARE Ad-Hoc Workshops on Transversal Variables in Zagreb (2015) and Nicosia (2016)
  • FESta: Fishing effort standardization
  • FSAWsconstruct and validate standard weight (Ws) equations
  • fishModfits models to catch and effort data
  • fishmovepredict fish movement parameters
  • fishualize: Color palettes based on fish species
  • hafroAssmtfisheries stock assessment at Hafro, the Marine Research Institute in Iceland
  • kobemethods for summarising results from stock assessments and Management Strategy Evaluations in the Kobe format
  • LBSPR: Length-Based Spawning Potential RatioSimulate expected equilibrium length composition, YPR, and SPR using the LBSPR model. Fit the LBSPR model to length data to estimate selectivity, relative fishing mortality, and spawning potential ratio for data-limited fisheries.
  • LeMaRns – Set-up, run, and explore the outputs of the Length-based Multi-species model (LeMans; Hall et al. 2006), focused on the marine environment. Introductory publication is here.
  • mapplots – *Create simple maps; add sub-plots like pie plots to a map or any other plot; format, plot and export gridded data
  • marindicators: Functions to calculate indicators for four marine ecosystem attributes (Biodiversity, Ecosystem Structure and Functioning, Ecosystem Stability and Resistance to Perturbations, Resource Potential) and one marine ecosystem pressure (Fishing Pressure) from fishery independent trawl survey data and commercial landings data.
  • mixdistfit mixture distributions — e.g., possibly separating age-classes from a length frequency
  • mizermultispecies, trait based and community size spectrum ecological models, focused on the marine environment See Introduction to mizer
  • MQMF: Companion for “Using R for Modelling and Quantitative Methods in Fisheries” book
  • ObsCovgTools – Estimates minimum fisheries observer coverage required to achieve a specific objective. Related Shiny app is here.
  • oceanmapPlotting toolbox for 2D oceanographic data
  • optistock – Functions that aid calculating the optimum time to stock hatchery-reared fish into a body of water given the growth, mortality, and cost of raising a particular number of individuals to a certain length.
  • PBSmappingtwo-dimensional plotting features similar to those commonly available in a Geographic Information System
  • PBSmodellingfacilitates the design, testing, and operation of computer models; focused on tools that make it easy to construct and edit a customized graphical user interface
  • RchivalTagfunctions to generate, access and analyze standard data products from archival tagging data
  • rct3 – Predict fish year-class strength by calibration regression analysis of multiple recruitment index series.
  • r4ssanalyze and plot the output from Stock Synthesis version 3, a fisheries stock assessment model written in ADMB
  • RFishBChelps fisheries scientists collect growth data from calcified structures and back-calculate estimated lengths at previous ages
  • rfishdraw – Automatic generation of fish drawings based on JavaScript library.
  • scapeimport and plot results from statistical catch-at-age models; generally used to connect with ADMB.
  • selecta flexible and user-extendable framework for size-selectivity via the SELECT model
  • shapeRstudy otolith shape variation among fish populations
  • simecolimplementation of dynamic simulation models
  • skewtoolsestimation of growth models parameters using the robust ECME method via heteroscedastic nonlinear regression growth model with scale mixture of skew-normal distributions
  • ss3simframework for fisheries stock assessment simulation testing with Stock Synthesis 3
  • smartR: Spatial management and assessment of demersal resources for trawl fisheries
  • stacomiRGraphical outputs and treatment for a database of fish pass monitoring
  • swfscDAS: Southwest Fisheries Science Center shipboard DAS data processing
  • swfscMiscCollection of conversion, analytical, geodesic, mapping, and plotting functions used by the Southwest Fisheries Science Center
  • toxEvalfunctions to analyze, visualize, and organize measured concentration data as it relates to toxicity forecasting or other user-selected chemical-biological interaction benchmark data such as water quality criteria
  • tRophicPositionBayesian estimation of trophic position from consumer stable isotope ratios
  • VASTestimate spatial variation in density using spatially referenced data, with the goal of habitat associations (correlations among species and with habitat) and estimating total abundance for a target species in one or more years
  • vmsbasevessel monitoring system and logbook data management and analysis
  • X2R with FishGraphimport the structured output from a given numerical model written in a compiled language (e.g., ADMB, fortran) into R for postprocessing (graphing, further analysis)
  • ypryield-per-recruit analysis

Packages for Capture-Recapture Analyses

General or Traditional

Spatially Explicit


Packages of Data

  • FSAdata: Data for FSACollection of many fisheries-related data sets
  • fishdataFour datasets (fish size and per-day growth history) of migratory fish, from 2015-2016, in the Wellington region of New Zealand
  • fishkirkko2015Length and weight measurements of fish species at Kirkkojarvi Lake, Finland
  • fishbc: Raw and curated data on the codes, classification, and conservation status of freshwater fishes in British Columbia

Packages to Access Online Databases

  • DATRASread and manipulate trawl survey data from the DATRAS database
  • fishtree: interface to the Fish Tree of Life API to download taxonomies, phylogenies, fossil calibrations, and diversification rate information for ray-finned fishes
  • LTERdatafunctions for retrieving NTL LTER data
  • ramlegacyDownload, import, convert, and cache the RAM Legacy Stock Assessment Database
  • rfishbasea programmatic interface to
  • rfisheriesa programmatic interface to

Packages for Limnological Data

  • GLMrthe General Lake Model in R
  • glmtoolsTools for interacting with the General Lake Model in R
  • LakeMetabolizercollection of lake metabolism functions
  • rLakeAnalyzerstandardized methods for calculating common important derived physical features of lakes
  • waterDataImports U.S. Geological Survey (USGS) daily hydrologic data from USGS web services, plots the data, addresses some common data problems, and calculates and plots anomalies

Collections of Code that are Not Yet a Package

Packages Not Actively Maintained