That's really odd. Are you in a situation like sirkiddo said?
sirkiddosomething tells me you play on a laptop and when you move your hand to press R you hit your pad thing and it fires the weapon
if you play on a laptop disable the touchpad
if you play on a desktop try restoring control to default / provide more info about the problem
If so, you'll need to disable that sort of thing.