Fix syntax error in examples/kmeans.R.
Adjust coding style.
Merge pull request #79 from sun-rui/fix-kmeans

Fix syntax error in examples/kmeans.R.