Magnetic properties of R2Zn17 compounds (R = rare earth)