Below you can see the front-view size comparison of the Pentax 645Z and Canon 5DS R. The Canon 5DS R is clearly the smaller of the two cameras. Its body is 4 mm narrower, 1 mm shorter and 47 mm thinner than the Pentax 645Z.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.