sponsor Vim development Vim logo Vim Book Ad

R.vim : Execute R-code from vim on Mac OS X

 script karma  Rating 51/18, Downloaded by 1554  Comments, bugs, improvements  Vim wiki

created by
Vincent Nijs
script type
This script is a related to vimscript#1048. However, it only works only on Mac OS X and does not require funnel.pl (vimscript#221) or any other code. It uses AppleScript embedded in the R.vim file to send selected lines of code to an R buffer (press <F3>). It is also possible to have all code in a buffer run using R to get the output back as an output buffer in vim (press <F4> or <F5>). In addition you can comment in/out lines of code with 'mc'.
install details
I put the R.vim script in my .vim/after/syntax directory.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
R.vim 0.01 2007-12-18 7.0 Vincent Nijs Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.