Hi, Ok, I understand what you mean. I wanted to get sorted data group by cluster in output ... But I have to do it myself using kres$cluster thanks for your help -- View this message in context: http://r.789695.n4.nabble.com/kmeans-how-to-retrieve-clusters-tp4426427p4427543.html Sent from the R help mailing list archive at Nabble.com.