Reference
RStudio tips and tricks
Tips
On the editor
CTRL
+enter
runs the command in the current line (cmd
+enter
on MacOS)
CTRL
+w
closes current tab (cmd
+w
on MacOS)
After typing the first few lines of a command, tab
auto-completes the command
On the console
↑
shows the last command (useful to rerun the command or fix errors)