weka How to open KnowledgeFlow file directly from terminal


Example

  1. add the following function into .bash_profile, save and exit

function wekaflstart() {
export R_HOME=/Library/Frameworks/R.framework/Resources
java -Xss10M -Xmx4096M -cp :weka.jar weka.gui.knowledgeflow.KnowledgeFlow "$1"
}

  1. inside a directory with a weka.jar file, open its terminal, run wekastart "path to a knowledgeflow file"