.bash_profile
, save and exitfunction wekaflstart() {
export R_HOME=/Library/Frameworks/R.framework/Resources
java -Xss10M -Xmx4096M -cp :weka.jar weka.gui.knowledgeflow.KnowledgeFlow "$1"
}
weka.jar
file, open its terminal, run wekastart "path to a knowledgeflow file"