Group morphisms that cannot define module morphisms

Give an example of a ring R, two R-modules M and N, and a set map f:MN such that f is a group morphism but not an R-module morphism.