If you've had shin splints and currently have R knee ache, I would automatically be thinking patella tendinopathy secondary to a ankle biomechanic problem. Ever had your ankles looked at? maybe you should be wearing orthotics in your shoes for sport and doing some strengthening work around the ankle?
Prophylactic exercises for you to consider