1. Install or update R on the computer you will use during the course (https://cran.r-project.org/). I assume that you already have it installed, but try to update it if you have a R version < 4.0.0. You can find which R version you have by running this in the R console:
version$version.string
  1. Install or update the RStudio interface (https://www.rstudio.com/products/rstudio/download/, choose the free version). Optional but advised.

  2. Make a directory called “BIR_BOKU_2022”, this will be your working directory for the course.

  3. Open RStudio and select the tab “Tools” then “Global Options” (last option). Select the “Code” option, then select the box for “Soft-wrap R source files”.

  4. Also in Rstudio: Select the “Pane Layout” option and move “Source” to the top left pane and “Console” to the top right pane. For those of you unfamiliar with RStudio, the source is your script, where you save code in a physical file (usually .R script) and the console prints the output of the code you run from the source. You can write code in the console, but it will not be saved in a physical file. This layout allocates more screen space to the most useful panes. Hit “Apply” and “Ok”.

  5. Also in Rstudio: Go back up to the “File” tab and select “New Project”, then select the “BIR_BOKU_2022” directory.

  6. Now in the R console in Rstudio: Run the following code to install the latest developmental versions (from github) of warbleR, Rraven, PhenotypeSpace, ohun, baRulho and dynaSpec (remove the packages first if you have them installed already).

# package to install other packages from github
install.packages("remotes") 

# install from github
remotes::install_github("maRce10/warbleR")
remotes::install_github("maRce10/Rraven")
remotes::install_github("maRce10/ohun")
remotes::install_github("maRce10/PhenotypeSpace")
remotes::install_github("maRce10/baRulho")
remotes::install_github("maRce10/dynaSpec")

# install from CRAN
install.packages("pracma")
install.packages("Sim.DiffProc")
install.packages("bioacoustics")
install.packages("phonTools")
install.packages("soundgen")
  1. warbleR depends heavily on the R package seewave. Seewave may require some extra steps to get installed. Take a look at seewave’s website for further help: http://rug.mnhn.fr/seewave/ (and then go to “installation” and scroll down)

  2. Install Raven lite (scroll down to “Raven Lite 2.0” and click on “Order Free Raven Lite 2.0 License”):

http://ravensoundsoftware.com/raven-pricing/

  1. Install ffmpeg (for dynaSpec package, not critical ):

https://ffmpeg.org/download.html

  1. Install Audacity (not critical, you can use Adobe Audition instead):

https://www.audacityteam.org/download/

  1. Install SOX. It can be downloaded from here. (not critical but could be useful): http://sox.sourceforge.net/

 

A few tips to make sure you will take full advantage of the course: