Making audio drivers available in R?

Viewed 1508

I'm 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))

(per the example given on the page), I get this error:

Error in play.default(x, rate, ...) : no audio drivers are available

Anyone know what I should do? I googled around a bit, and it looks like maybe I need to call set.audio.driver(name), but I'm not sure what to put as an argument.

(In case it matters, on Mac OS X Snow Leopard.)

3 Answers
Related