$R^{\oplus A}$ for a set $A$ is a copower, i.e. $\text{Hom}(R^{\oplus A},S) \cong \text{Hom}(A,\text{Hom}(R,S))$ (natural in $S$ and $A$, and $R$ is viewed as a 1-dimensional $R$-module on the right). If needed, show that this is equivalent to $R^{\oplus A}$ is a colimit of a discrete diagram, i.e. a coproduct. Establishing this adjunction is where you'd used the universal property of coproducts. From there, the rest is pretty straight forward:
$$\begin{align}
\text{Hom}((R^{\oplus A})^{\oplus B},S)
& \cong \text{Hom}(B,\text{Hom}(R^{\oplus A}, S)) \\
& \cong \text{Hom}(B,\text{Hom}(A,\text{Hom}(R,S))) \\
& \cong \text{Hom}(A\times B,\text{Hom}(R,S)) \\
& \cong \text{Hom}(R^{\oplus (A\times B)},S)
\end{align}$$
Then, "by Yoneda". The introduction of the cartesian product is via the adjunction giving cartesian closure. Note this proof works for any category that has copowers, which includes any category with arbitrary coproducts.