Ri and Ro - What do these acronyms mean?
Ri might mean "Resistor, input".  In any case, it is the current limiting resistor for the LED.

Ro is the output load resistor - the current passed by the phototransistor detector will develope the output volotage across this resistor.