Nottolina Nottolina - 2 months ago 16
R Question

R Studio: ctrl+shift+enter runs the entire code instead of the selected lines only

I am using R Studio and I have encountered a problem: ctrl+shift+enter is running the entire code instead of the selected lines only. I can always use "Run", but I am used to ctrl+shift+enter... Anybody has any clue on how to fix this?

Answer

Documentation here

Run current line/selection Ctrl+Enter
Run current line/selection (retain cursor position) Alt+Enter

Comments