sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

R-MacOSX : Evaluate R (www.r-project.org) code from Vim in Mac OS X.

 script karma  Rating 10/4, Downloaded by 1193    Comments, bugs, improvements  Vim wiki

created by
Jarimatti Valkonen
script type
Enables you to evaluate code in R (http://www.r-project.org) via the shell command "osascript". Tested on Vim 7.0, R 2.4.0 (GUI 1.17) and Mac OS 10.4.8. Probably should also work on earlier versions.

Evaluate current line or visual selection with <Cmd-E> and source current file with <Shift-Cmd-E>. The key mappings are inspired by the R GUI internal editor.

TODO (patches accepted!):
- the key mappings should be customizable
install details
Copy the file "r.vim" to the ftplugin directory.

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
r.vim 0.2 2006-12-27 7.0 Jarimatti Valkonen File sourcing now works regardless of the working directory. Also added escaping of the R comment character '#'.
r.vim 0.1 2006-12-23 7.0 Jarimatti Valkonen 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.
SourceForge.net Logo