version$version.string
Install or update the RStudio interface (https://www.rstudio.com/products/rstudio/download/, choose the free version). Optional but advised.
Make a directory called “BIR_BOKU_2022”, this will be your working directory for the course.
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”.
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”.
Also in Rstudio: Go back up to the “File” tab and select “New Project”, then select the “BIR_BOKU_2022” directory.
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")
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)
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/
https://ffmpeg.org/download.html
https://www.audacityteam.org/download/
A few tips to make sure you will take full advantage of the course: