Samuel Nde
Samuel Nde

Reputation: 2743

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

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?

Upvotes: 44

Views: 221845

Answers (10)

amit ranjan
amit ranjan

Reputation: 31

Click on Numlocck and hit 0. This will act as insert if you don't have a direct insert button.

Upvotes: 0

bob
bob

Reputation: 11

with hp laptops: First, turn OFF lum-lock feature by hitting the num-lock button. Then, hit the 0-ins key, which is located in the number keypad area.

Upvotes: 1

N Acharya
N Acharya

Reputation: 21

I was able to solve the issue by simply clicking 'insert' keyboard key. The cursor in RStudio changed from underscore to vertical.

Upvotes: 2

holala
holala

Reputation: 111

For those using HP laptops: the only solution will be to turn on your numeric key num which is below the home key at the top right corner of your keypad/keyboard; on the same key, you'll see the inscription "lock". Then hit alt key on the left of the long spacebar on your keypad/keyboard. Then hold it together with the 0 key on the bottom right side of the keypad/keyboard with the inscription ins which is the same as the insert key. You should be able to get back the vertical cursor line. Hope this works for someone.

Upvotes: 0

Captain Stone
Captain Stone

Reputation: 446

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).

Upvotes: 34

Aashish Kumar
Aashish Kumar

Reputation: 1006

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.

Upvotes: 3

Jay Zamsol
Jay Zamsol

Reputation: 1283

Press the Insert button on your keyboard.

Upvotes: 97

Sazzad Hossain
Sazzad Hossain

Reputation: 1

shift + insert at a same time from keyboard

Upvotes: 0

Vusi Bilankulu
Vusi Bilankulu

Reputation: 71

Right click and select Reload.

Upvotes: 7

Abhi
Abhi

Reputation: 1177

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

Upvotes: 5

Related Questions