Is there a hack to be able to run the current line or selection in RStudio without moving the cursor?
For anyone who ends up here in 2020:
- Ctrl(or Cmd) + Enter: Will run current line and jump to the next one. If a code portion is selected, run the selected code without jumping further.
- Alt + Enter: – Will run the current line of code without moving the cursor to the next line, useful if you want to run it multiple times.
(Source)