I'm looking for examples of a ring $R$ together with a subgroup $S$ of its additive group such that $S$ is not an ideal of $R$.
I imagine that there are examples of this (otherwise the definition of an ideal in a ring would be simpler than it is), but I can't readily come up any of them.
Also, I have purposely kept the specification of the ring $R$ vague so as not to constrain the answer unnecessarily. IOW, I don't require $R$ to be commutative. In fact, I don't even require it to have a multiplicative unit.