This package helps in writing R languages:
- More comprehensive Indentation and Syntax
- Send commands to different applications such as R GUI, Terminal and SublimeREPL.
- Show function hint in status bar
- R GUI on Windows and Mac
- Terminal and iTerm 2 on Mac
- Tmux and screen on Linux
- SublimeREPL
Note: For Windows, AutoHotkey which is an automation script is used as a bridge between R and ST.
Keybinding: C-Enter
- Send the selection to R (See settings for choosing default application)
- If no syntax is selected, it sends the whole line where the cursor stays at.
- Or if the current line ends with
{
, it finds the matching}
and sends the whole block.
Keybinding: C-\
- Change working directory to where the current working script is located
Keybinding: C-b
- Tell R to source the working script
Preferences -> Package Settings -> Enhanced R -> Settings
R Application Switch
in Command Palette to switch between applications.
- In default, Enhanced R will automatically search for applications. You may manually edit applications' paths.
{
// auto advance lines after sending command
"r_auto_advance": false
}
{
"r_auto_completions": false
}
{
// a list of packages which functions will show in the status bar
// "default_pkgs": ["base", "graphics", "grDevices", "methods", "stats", "utils"]
}