A sufficient condition is that $R$ is artinian (for example, finite). [Reduce to the local case and apply Jack's argument; or this proof which avoids the maximal ideal description of units].
Martin Brandenburg
- 63.1k
- 13
- 207
- 424