The short answer
RIR stands for reps in reserve. It is how many more reps you could have done when you stopped a set. Nothing left means 0. Two left means 2.
It is the difference between two sets that look identical in a logbook. Eight reps and eight reps with two left are the same line and a different session, and only the second one tells you what to do next week.
How to judge it
Ask yourself one question as you rack the weight: if somebody had made you keep going, how many more could you have done with the same form? That number is your RIR.
You will be wrong at first, and that is normal. People new to lifting tend to think they had nothing left when they had three or four, because hard and finished feel similar when you are not used to either. It gets accurate with practice, and it gets accurate fastest on the lifts you repeat most.
Two habits help. Judge it in the moment rather than afterwards, and judge the set you did rather than the set you meant to do.
RIR and RPE are the same scale
RPE, rate of perceived exertion, runs the other way on a ten-point scale: RPE 10 is nothing left, RPE 8 is two left. So RIR is simply 10 minus RPE. If your old app recorded RPE, the numbers carry over without you converting anything by hand.
Why it is worth logging
Weight and reps say what happened. Effort says what was available. A set of 8 that left three in reserve is an invitation to add weight; the same 8 with nothing left is a reason to stay put. Without the second number, every progression rule has to guess, which is why so many of them just add a fixed amount every week and hope.
How REGOL uses it
You tap it once after each set, from 0 to 4+, on the row above the Log button. It starts on the number you planned, so if the set went as planned you leave it alone.
Then it compares how many reps you had left, averaged over your working sets, with how many you planned to leave. More left than planned means there was room: it asks for more reps at the same weight first, and once your reps sit at the top of your range it adds weight. Every proposal says in a sentence why it landed where it did.
Sets that arrive without an effort rating - imported from another app, say - are marked as not recorded, and the engine goes by reps alone until you start logging it. Nothing breaks; it just has less to go on.
Related: when to add weight and what progressive overload is.
REGOL works out weights from what you logged. It is arithmetic, not coaching, and not medical advice. Train within your ability.