pretty much the same thing, dataPath() returns Processing installation path, appended with /data
dataPath()
/data