HIGH should not enter into using analogRead values. HIGH is 1, the analog value ranges from 0 to 1023, so is rarely is it exactly 1.
Just print R unconditionally. Maybe put a delay in the loop if you don't like values shooting off the screen, like 100 milliseconds to take it a bit.
a7