added clustering example in R

Signed-off-by: jason john <dormantroot@gmail.com>