Description | RStudio Keybind | command | ESS keybind |
---|---|---|---|
Show Function Help | F1 | ess-display-help-on-object |
C-c C-v |
Go To Function/File | F2 | xref-find-definitions |
M-. |
Restart R | Ctrl-Shift-F10 | inferior-ess-reload |
C-c C-e r |
Terminate R | - | ess-cleanup |
C-c C-q |
Document | Ctrl-Shift-D | ess-r-devtools-document-package |
C-c C-w d |
Test Package | Ctrl-Shift-T | ess-r-devtools-test-package |
C-c C-w t |
Check Package | Ctrl-Shift-E | ess-r-devtools-check-package |
C-c C-w c c |
Load All | Ctrl-Shift-L | ess-r-devtools-load-all |
C-c C-w l |
Run Selected Lines | Ctrl-Enter | ess-eval-region-or-line-and-step |
C-RET |
Run Function Definition | Ctrl-Alt-F | ess-eval-region-or-function-or-paragraph |
C-M-x |
Find in Files | Ctrl-Shift-F | counsel-projectile-grep |
C-c p s g |
While RStudio automatically cares R_LIBS_USER and PATH, we have to do it by ourselves with Emacs.
R_LIBS_USER="~/R/library/"
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin