# snow version of k-means clustering problem library(snow) # returns distances from x to each vector in y; # here x is a single vector and y is a bunch of them; # define distance between 2 points to be the sum of the absolute values # of their componentwise differences; e.g., distance be ...