I am trying to use the following sound package in R: http://playitbyr.r-forge.r-project.org/gettingstarted.html
After installing the package and its dependencies, when I try to run
sonify(iris, sonaes(time = Petal.Length, pitch = Petal.Width))
(in the example given on the page), I get this error:
Error in play.default(x, rate, ...) : no audio drivers are available
Does anyone know what I should do? I was looking a bit googled, and it looks like I need to call set.audio.driver(name) , but I'm not sure what to put as an argument.
(In case that matters, on Mac OS X Snow Leopard.)
r audio driver
grautur
source share