Crystal structures of the R3CuSnSe7 (R = La, Ce, Pr, Nd, Sm, Gd, Tb and Dy) compounds