You asked
Would a 55mm f 1 4 be too long for headshots on my pentax k r?
No, 82mm equivalent isn't too long for headshots. On the K-r's APS-C sensor, the Pentax smc DA* 55mm f/1.4 SDM frames like 82mm on full frame. The guide's portraits page says that on APS-C, a 56mm f/1.2 to f/1.4 plays the role of the classic 85mm portrait lens. Longer focal lengths flatter faces because you stand further away, which keeps noses and chins in proportion. You'll have room between you and your subject, which is what a good headshot needs.
The lens's wide aperture gives very thin focus. At f/1.4 the depth of field can be thinner than a face, so focus carefully on the nearer eye. Stop down to f/2.8 when two people sit at different distances. Moving your subject away from the background often helps more than the lens itself, as the background blur section explains.
The K-r has stabilisation in the body, so the lens doesn't need its own, and the 55mm is autofocus on the K mount, which the K-r uses. If you'd like something a little tighter for less reach, the Pentax smc DA 50mm f/1.8 is the cheapest good portrait option and frames like 75mm. For more distance and a more flattering view, the Pentax HD DA 70mm f/2.4 Limited frames like 105mm. Check the prices on each lens's page, as they change.
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}.