cursor sometimes changes from a vertical line to an underscore in Rstudio

Viewed 107689

I am using R-studio 3.3.3 on a 64 bit windows 10 Acer laptop. I am new to programming in R and I just discovered that my cursor sometimes changes from a vertical line to an underscore in R-studio. Could someone help tell me why?

6 Answers

Press the Insert button on your keyboard.

This is a very common operation in different software and platforms. The underscore means that you are in Overwrite mode, meaning that anything you type will overwrite the text at the cursor position.

The "normal" cursor indicates that you are in insert mode and all text you type will force the rest of the line to move further.

Switching between these modes happens by pressing the Insert key on your keyboard (usually there are two of them, one somewhere above of the arrow keys and another on the Num Pad).

press ins button or fn+ins to solve this problem underscore cursor means you are on overwrite mode

This can happen when trying to press the Delete key - the Insert key is to left side of Delete.

Press Insert again to correct this.

shift + insert at a same time from keyboard

Related