R: Make sure you have the latest version of R.
Go to https://cran.r-project.org/ and find the download link for your computer system.
RStudio: Install the latest version of RStudio. Get it from https://www.rstudio.com/products/rstudio/download and install the appropriate one for your OS.
For full set-up instructions including Git and GitHub (optional), go to full setup
Open RStudio and ‘New Project’ in the upper right. Select ‘From Existing Directory’ if you have previously created a folder for the course and select ‘New Directory’ if you have not.
To work on a lab, copy the Rmd or R file to this folder.
Next time you open RStudio, you can select your project from the upper right.
if(!("devtools" %in% installed.packages()))
install.packages("devtools")
devtools::install_github("Fish-Forecast/FishForecast")
The FishForecast package will install the packages listed under “Imports:”
Package: FishForecast Title: Packages, data and scripts for Fisheries Catch Forecasting with R Version: 1.1 Author: Eli Holmes Maintainer: Eli HolmesDescription: This package that will load the needed packages and data files for the Fish Forecast course material when students install from GitHub. Depends: R (>= 3.4.1) Imports: devtools, dplyr (>= 0.7.5), forecast (>= 8.4), ggplot2 (>= 3.0.0), grid (>= 3.4.1), gridExtra (>= 2.3), knitr (>= 1.20), magrittr (>= 1.5), reshape2 (>= 1.4.3), stringr (>= 1.3.1), tseries (>= 0.10-45), urca (>= 1.3-0), kableExtra (>= 0.9.0), rmarkdown (>= 1.10), MARSS (>= 3.10.8), olsrr (>= 0.5.2), corrplot (>= 0.84), car (>= 3.0-3), caret (>= 6.0-84), Hmisc (>= 4.2-0), leaps (>= 3.0), lmtest (>= 0.9-37), relaimpo (>= 2.2-3), astsa (>= 1.9) License: GPL-2 Encoding: UTF-8 LazyData: true RoxygenNote: 7.0.2