You asked

Should I switch from the pentax k r to mirrorless?

Here is what the site says about that.

From Pentax K-r: Pentax K-r: A DSLR by Pentax with a 12.4-megapixel APS-C sensor, announced in 2010. Specs - Maker: Pentax - Mount: Pentax K - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 12.4 megapixels - Stabilisation: in the body - Announced: 2010 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, 23mm like 35mm, 33mm like 50mm, 57mm like ...

From Pentax K-01: Pentax K-01: A mirrorless camera by Pentax with a 16.3-megapixel APS-C sensor, announced in 2012. Pentax's only K-mount mirrorless camera, designed by Marc Newson, with no viewfinder.

Quoted from this site's pages.

From these pages