You asked
Pentax k 7 vs pentax k r?
The Pentax K-7 and K-r share the same Pentax K mount, the same APS-C sensor size, in-body stabilisation, and the same lens list in this guide. The difference is resolution: the Pentax K-7 has a 14.6-megapixel sensor, against 12.4 megapixels on the Pentax K-r. The K-7 has the edge if you want more detail for big prints or heavy cropping. The K-r is the one to consider if you want a lighter-spec body for everyday shooting. The guide's pages don't say more than this, and they don't list prices, so it can't compare cost.
Because the lenses are identical, your choice of lens will matter more than the body. For everyday walking-around use, the Pentax smc DA 18-55mm f/3.5-5.6 AL WR is a sensible, modest-size start. For dim light, portraits or moving subjects, the Pentax smc DA 50mm f/1.8 gives much more light for its size. On APS-C, f/1.8 gives about the background blur of f/2.7 on full frame, as the focal length converter explains. If you want a fast zoom, the Sigma 18-35mm f/1.8 DC HSM Art covers a wide range at a bright aperture, though it costs more and is larger.
Either body takes all of these, so the choice comes down to how much you value the K-7's extra resolution.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.