If we regard a ring $R$ (with identity) as a right module ($R_{R}$), then there is a ring isomorphism $\text{End}(R_{R}) \simeq R$, however the same does not happen if we regard $R$ as a left module!
The correct is $\text{End}(_{R}R) \simeq R^{\text{op}}$.