- Download and install R (should be >= 4.5)
- Download and install RStudio (more beginner friendly) or Positron (more powerful)
- If you are working on Windows, download and install Rtools (for the latest R version 4.5 and 4.6, use RTools4.5) - note that this step won't be necessary anymore once isoreader2 is available on CRAN
- Download and unzip this workshop folder on your computer
- Start RStudio or Positron
- Open the workshop folder project: in Rstudio
File->Open project, in PositronFile->Open folderand navigate to the downloadedisocamp026-mainfolder - In the Console at the bottom, copy the following commands and hit enter to execute them:
# checks that you are set up to build R packages from source
install.packages("pkgbuild")
pkgbuild::check_build_tools()
# installs the latest isoreader2 package from GitHub
install.packages("pak")
pak::pak("isoverse/isoreader2")
# install isopreocessor2
pak::pak("isoverse/isoprocessor2")
# install isoexplorer
pak::pak("isoverse/isoexplorer")
# check/install isoextract
isoreader2::ir_check_isoextract()If everything worked, the last line of these commands should have returned isoreader2::ir_check_isoextract() found isoextract version 0.3.0.0 ready for use. If yes, congrats! You're ready for following along during the coding portion the workshop! If no, try to run these commands one line at a time to see where there's trouble.