Proof (universal property of group presentations)

For existence, suppose $ϕ: S\to H$ is such that the induced homomorphism $\varphi: F(S)\to H$ satisfies $\varphi(r) = 1$ for all $r\in R$. This means $R\subseteq \ker \varphi$. Since $\ker \varphi$ is normal in $F(S)$, we also have $\langle \langle R\rangle\rangle \le \ker \varphi$. Thus $\varphi$ descends to a homomorphism $ψ: F(S) / \langle \langle R\rangle\rangle \to H$.

For uniqueness, composing any $ψ, ψ': \langle S\mid R\rangle\to H$ with $q$ gives $\varphi, \varphi': F(S)\to R$. If $ψ\circ q\circ ι = ψ' \circ q\circ ι$, then $\varphi \circ ι = \varphi' \circ ι$, so $\varphi = \varphi'$.