.onLoad <- function(libname, pkgname) {
path <- Sys.which("espeak")
if (path != "") {
options("director.espeakPath"=path)
} else {
options("director.espeakPath"=NULL)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.