- install R and add
Rscript.exeto the environment path. - install R package
formatR.
- select the code and press
ctrl+alt+f - set the format style in
SublimeFormatR.sublime-settingsfile.
- deal with
tidy_source()'s error massege and show it in the dialog.