Executes a Praat script using the R system function.

praatScript(args, script = "reTimeWin.praat", wd = getwd(), praat = NULL)

Arguments

args

arguements to pass to Praat script ("–run" not required)

script

name of script if using a script from this package, or path to script for other scripts

wd

working directory for Praat to use

praat

path to Praat. If null will search for Praat in C:/Program Files (for Windows) or attempt to use "praat" for Unix based systems.

Value

Runs script in Praat and prints stdout to console.