Reputation: 560
I am trying to find a package that would support Autocomplete of the R Syntax in Sublime Text 2 similar to the way Sublime supports for Python or Ruby. That is when start typing 'vec..." it prompts with "vector" in the pop up.
Upvotes: 8
Views: 2977
Reputation: 32986
Yep, it exists.
Drag R.sublime-completions into your ~/Library/Application Support/Sublime Text 2/Packages/R
(or the equivalent folder in Windows). Another way to get to the folder is click Sublime Text > Preferences > Browse Packages...
Also, if you are going to use Sublime Text 2 for R, here is a (shameless) plug for rtools, which allows you to send selections from ST2 to R. You can install via Package Control.
Upvotes: 7