I'm reading through my notes, and I have a theorem as the title says. As proof I have only a picture.
where $v:m\mapsto(0,...,0,1,0,...,0)$ and 1 is at $m$-th position. I know, that $\oplus_M R$ is a free module generated by set $M$, but is this all? I do not see how the statement is proved.

Recall the universal property of direct sum: if $M_j(j\in I)$ and $M$ are $R$-modules and $\{\phi_i\colon M_i\to M\}_{i\in I}$ are a family of homomorphisms, then there is a unique homomorphism $\phi\colon \bigoplus_{i\in I}M_i\to M$ making the following diagram commutative $$ \begin{matrix} M_j&\overset{\phi_j}{\longrightarrow}&M\\ \downarrow&\overset{\phi}{\nearrow}& \\ \oplus_{i\in I}M_i \end{matrix} $$ Now return to your problem. Generating a free $R$-module $R^{(M)}$ with the basis $M$, we define $\phi_m\colon R\to M$ by $\phi_m(1_R)=m$. Then the universal property provides an epimorphism $\phi\colon R^{(M)}\twoheadrightarrow M$.