Be sure to distinguish the VECTOR r from the variable r. The vector r is the vector from the origin to the point on the sphere (of radius R?). You will actually be integrating that with the unit normal vector. Since the unit normal vector to the surface of the sphere and r are in the same direction, that is just the length of r. Hmmm, for the first part of this problem you don't actually have to do an integral at all!