if (FALSE) {
f = formant_app() # runs in default browser such as Firefox or Chrome
f1 = formant_app(specType = 'reassigned', windowLength = 5, step = 1)
# full list of parameters that can be passed to formant_app():
# paste0(c(names(input)[which(names(input) %in% rownames(def_form))],
# 'spectrum_xlim', 'spec_ylim', 'spec_colorTheme', 'osc', 'wn', 'wn_lpc',
# 'vtl_method', 'speedSound', 'coeffs', 'interceptZero', 'tube'), collapse = ', ')
# run the app with previously used settings
f2 = do.call(formant_app, f1$settings)
# save the complete output, including the settings used
saveRDS(f2, 'my_formant_analysis.rds')
# To change system default browser, run something like:
options('browser' = '/usr/bin/firefox') # path to the executable on Linux
}
Run the code above in your browser using DataLab