Size and weight are big decision factors when you are trying to find the ideal camera for your needs.
In this section, we are going to illustrate the Nikon L31 and Pentax K-r side-by-side from the front, back and top in their relative dimensions. Nikon L31 has external dimensions of 96 x 59 x 29 mm (3.78 x 2.32 x 1.14″) and weighs 160 g (0.35 lb / 5.64 oz) (including batteries). Pentax K-r has external dimensions of 125 x 97 x 68 mm (4.92 x 3.82 x 2.68″) and weighs 598 g (1.32 lb / 21.09 oz) (including batteries).
Below you can see the front-view size comparison of the Nikon L31 and the Pentax K-r. Nikon L31 is clearly the smaller of the two cameras. Its body is 29mm narrower, 38mm shorter and 39mm thinner than Pentax K-r. As you can tell, actually this is not a fair size comparison since Nikon L31 has a built-in lens but Pentax K-r doesn't. Once you put a lens on K-r, its thickness will increase significantly.
Here is the back view size comparison of the Nikon L31 and Pentax K-r.
Now lets look at the top view comparison of Nikon L31 and Pentax K-r.
Weight is another important factor, especially when deciding on a camera that you want to carry with you all day.
Nikon L31 is significantly lighter (438g ) than the Pentax K-r which may become a big advantage especially on long walking trips.
Again, this comparison may not be very useful in real life as we are comparing the weight of a camera with a built-in lens to the body-only weight of an interchangeable lens camera. Once you put a lens on K-r, the total kit will weigh much higher.
Weather Sealing
Unfortunately neither the Nikon Coolpix L31 nor Pentax K-r provides any type of weather sealing in their bodies, so you have to give extra care especially when you are shooting outdoors. If weather sealing is a must-have feature for you, check these sections: Top Compact Cameras with Weather Sealing Top DSLR Cameras with Weather Sealing
LCD Screen Size and Features
Pentax K-r's 3.00" LCD screen is slightly larger than Nikon L31's 2.7 screen.
Unfortunately, both cameras has fixed screens so they don't tilt or flip in directions.