R Wire on a Thermostat: What It Is and Where It Goes
R (sometimes RH, RC, V, or 4 on older units) is the 24 VAC "hot" side of the transformer in your furnace or air handler. The thermostat switches this power out to W, Y and G to turn equipment on.
The wire is usually red, but color is not a rule. Always go by the letter it was connected to. If your old thermostat had a short jumper between Rh and Rc, that is still a single R wire. Don’t connect the jumper to a smart thermostat.