They are not ring isomorphic, because e.g. $R$ has the following property of a ring $X$, and $S$ does not:

> There is a non zero element $u \in X$   such that for any
> invertible $f\in X$ either $uf$ or $-uf$ is a square.