R Tools
Sublime text package for R
Details
Installs
- Total 3K
- Win 929
- Mac 2K
- Linux 465
Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Rtools for Sublime Text 2
This package provides a couple of useful tools for people using Sublime Text 2 to code in R
. It has the key bindings to send a selection of code to R, and can also generate Roxygen documentation templates for any function quickly (select first line of a function till the first {
, press keybinding and it will generate a template with @params
from the function definition).
We plan to add functionality of formatR so you can format/tidy code inline to the next version. Please suggest other feature requests as issues (preferably tagged as a feature request).
Installation
Installing via Package Control: The fastest way to install is via the command palette (open command palette, type in Install Packages, and once list is populated look for R tools
)
If you don't have package control installed, the just clone this repo into your Sublime Text 2/packages
directory
git clone git@github.com:karthikram/Rtools.git
Customization
Since I am on OSX and use R64.app, I have set it up that way. If you prefer to use 32-bit R, replace
R64
withR
in theRtools.py
file. In windows (untested), you should set it to theR.exe
file you wish to use.I have included a basic roxygen template to populate the section above each file. If you prefer to have fewer or more fields, I will move it to a settings file in a future version. For you you can edit
Rtools.py
or post it as an issue and I will update it.
Key bindings
To preserve or change these key bindings, copy them to your Key Bindings - User
file.