# Clustering with the same number of objects per group

How can I cluster while forcing the final clusters to have more or less the same number of objects?

I have just tried kmeans in R, and it does not take this into account.