8 Getting Started with R

8.1 Installing R and RStudio

ALSroads is an R package and requires an installation of the R programming language that can be downloaded for Windows, macOS, and Linux.

The R language is usually used using an integrated development environment (IDE). RStudio is the most famous IDE for R and is available for download online.

Several tutorials detailing the initial setup and introduction to R are available online:

  1. An Introduction to R
  2. Introduction to Data Science
  3. R Tutorial: a quick beginner’s guide to using R
  4. R Packages: A Beginner’s Tutorial

8.2 Installing ALSroads

ALSroads is available on Github but is not part of the available packages on CRAN. To install ALSroads, you must first install the package remotes and then use remotes to install the ALSroads package from Github.

install.packages("remotes")
remotes::install_github("Jean-Romain/ALSroads")