I restart RStudio. Change to another workspace and come back. The issue is fixed. So you can try to do that. Maybe can help you.
I am using the 0.98.507 version.
Restaring the Rstudio solved the problem for me.