Below you can see the front-view size comparison of the Sony RX1R II and Pentax K-5 IIs. The Sony RX1R II is clearly the smaller of the two cameras. Its body is 18mm narrower, 32 mm shorter and 1 mm thinner than the Pentax K-5 IIs.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.