remove.groups can have the dist option

HI ,everybody.
I’m wondering whether the command “remove.groups” can revove groups directly from the distance file. considering the laboring task of calculating distance file, this might save a lot of time!

thanks in advance!