Monday 28 July 2014

Getting the seewave R package installed on Ubuntu

On Linux installing seewave requires the installation of a few additional libraries. Assuming you already have R installed you will need to run the following from the system Terminal:

sudo apt-get install libfftw3-3 libfftw3-dev libsndfile1 libsndfile1-dev r-cran-rgl bwidget

The current installation instructions for seewave do not include the installation of the BWidget package which causes issues when you try to load the package in R: [tcl] can't find package BWidget. You may then proceed to install the seewave package within R:

install.packages("tuneR, "seewave");