This question is studied and partially answered in https://arxiv.org/abs/0904.3153. The answer depends not only on $R$ but also on $n$.