Original View
Label Fluorine
Label Chlorine
Label Bromine
Label Iodine

Iodine has the highest priority
Bromine has the second highest priority
Chlorine has the third highest priority
Fluorine has the lowest priority

Rotate the lowest priority so it is behind the central atom.

Spinning  #1 to #2 to #3 is to the left so it is in the S configuration

Now see the R-configuration