This is an exercise of Advanced linear algebra third edition of Steven Roman:
Prove that any $R$-module $M$ is isomorphic to $\mathrm{hom}_R(R,M)$
My work so far:
We want to show that $M\approx\mathrm{hom}_R(R,M)$, where $M$ is a $R$-module. If the ring have an unity then it is easy to check that any homomorphism between $R$ and $M$ have the form $\varphi_v(r):=r\cdot v$ for any arbitrary $v\in M$. Hence there is a bijection $v\mapsto \varphi_v$ between $M$ and $\mathrm{hom}_R(R,M)$, that respect module operations, so the statement holds for rings with unity.
Now we can see that the maps $\varphi_v$ are homomorphisms also for non-commutative rings without unity, however I can't show that they are the unique kind of homomorphisms to conclude the exercise.
I need some help.
The statement that $M\cong\operatorname{Hom}_R(R,M)$ is generally false for rings without unit. Take $R=\mathbb{Z}\oplus\mathbb{Z}$ with the trivial multiplication. Any abelian group with action $rx=0$ is a module over $R$. Take $M=\mathbb{Z}$. Then $$ \operatorname{Hom}_R(R,M)\cong M\oplus M $$ which is not isomorphic to $M$.
Notice also that, in this case, the map $\varphi_v$ is the zero map, so the map $M\to\operatorname{Hom}_R(R,M)$ is definitely not injective.