The 'R' in R-to-R refers to the R peak of the generic PQRST ECG waveform. The R-to-R interval is the amount of time between one R peak to the next . See the diagram of a typical PQRST waveform with the R-R interval highlighted in file attached.
This value is used to measure a person's Beats Per Minute (BPM).