Dear R users,
The author of Tinn-R (Jose Claudio Faria) now is co-author of
Vim-R-plugin2, a plugin that makes it possible to send commands
from the Vim text editor to R. We added many new key bindings,
restructured the menu and created new Tool Bar buttons. The new
version is available at:
http://www.vim.org/scripts/script.php?script_id=2628
NOTES:
(1) Some old key binding changed, including the shortcuts
to start R.
(2) The plugin doesn't work on Microsoft Windows yet.
Below is the plugin's menu structure, and the corresponding
default keyboard shortcuts:
Start/Close
. Start R (default) \rf
. Start R --vanilla \rv
. Start R (custom) \rc
--------------------------------------------
. Close R (no save) \rq
. Close R (save workspace) \rw
-----------------------------------------------
Send
. File f5
. File (echo) F5
--------------------------------------------
. Block (cur) f6
. Block (cur, echo) F6
. Block (cur, echo and down) ^F6
--------------------------------------------
. Function (cur) f7
. Function (cur and down) F7
--------------------------------------------
. Selection f8
. Selection (echo) F8
. Selection (and down) f9
. Selection (echo and down) F9
--------------------------------------------
. Line f8
. Line (and down) f9
. Line (and new one) \q
-----------------------------------------------
Control
. List space \rl
. Clear console \rr
. Clear all \rm
--------------------------------------------
. Object (print) \rp
. Object (names) \rn
. Object (str) \rt
--------------------------------------------
. Arguments (cur) \ra
. Example (cur) \re
. Help (cur) \rh
--------------------------------------------
. Summary (cur) \rs
. Plot (cur) \rg
. Plot and summary (cur) \rb
--------------------------------------------
. Set working directory (cur file path) \rd
--------------------------------------------
. Sweave (cur file) \sw
. Sweave and PDF (cur file) \sp
--------------------------------------------
. Rebuild (list of objects) \ro
Best regards,
Jakson Aquino
Looks interesting. Could you make a vimball out of it to facilitate installation. On Mon, Oct 5, 2009 at 10:12 AM, Jakson A. Aquino <jaksonaquino at gmail.com> wrote:> Dear R users, > > The author of Tinn-R (Jose Claudio Faria) now is co-author of > Vim-R-plugin2, a plugin that makes it possible to send commands > from the Vim text editor to R. We added many new key bindings, > restructured the menu and created new Tool Bar buttons. The new > version is available at: > > ?http://www.vim.org/scripts/script.php?script_id=2628 > > ?NOTES: > ? (1) Some old key binding changed, including the shortcuts > ? ? ? to start R. > ? (2) The plugin doesn't work on Microsoft Windows yet. > > Below is the plugin's menu structure, and the corresponding > default keyboard shortcuts: > > Start/Close > ?. Start R (default) ? ? ? ? ? ? ? ? ? ? ?\rf > ?. Start R --vanilla ? ? ? ? ? ? ? ? ? ? ?\rv > ?. Start R (custom) ? ? ? ? ? ? ? ? ? ? ? \rc > ?-------------------------------------------- > ?. Close R (no save) ? ? ? ? ? ? ? ? ? ? ?\rq > ?. Close R (save workspace) ? ? ? ? ? ? ? \rw > ----------------------------------------------- > > Send > ?. File ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?f5 > ?. File (echo) ? ? ? ? ? ? ? ? ? ? ? ? ? ? F5 > ?-------------------------------------------- > ?. Block (cur) ? ? ? ? ? ? ? ? ? ? ? ? ? ? f6 > ?. Block (cur, echo) ? ? ? ? ? ? ? ? ? ? ? F6 > ?. Block (cur, echo and down) ? ? ? ? ? ? ^F6 > ?-------------------------------------------- > ?. Function (cur) ? ? ? ? ? ? ? ? ? ? ? ? ?f7 > ?. Function (cur and down) ? ? ? ? ? ? ? ? F7 > ?-------------------------------------------- > ?. Selection ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? f8 > ?. Selection (echo) ? ? ? ? ? ? ? ? ? ? ? ?F8 > ?. Selection (and down) ? ? ? ? ? ? ? ? ? ?f9 > ?. Selection (echo and down) ? ? ? ? ? ? ? F9 > ?-------------------------------------------- > ?. Line ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?f8 > ?. Line (and down) ? ? ? ? ? ? ? ? ? ? ? ? f9 > ?. Line (and new one) ? ? ? ? ? ? ? ? ? ? ?\q > ----------------------------------------------- > > Control > ?. List space ? ? ? ? ? ? ? ? ? ? ? ? ? ? \rl > ?. Clear console ? ? ? ? ? ? ? ? ? ? ? ? ?\rr > ?. Clear all ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\rm > ?-------------------------------------------- > ?. Object (print) ? ? ? ? ? ? ? ? ? ? ? ? \rp > ?. Object (names) ? ? ? ? ? ? ? ? ? ? ? ? \rn > ?. Object (str) ? ? ? ? ? ? ? ? ? ? ? ? ? \rt > ?-------------------------------------------- > ?. Arguments (cur) ? ? ? ? ? ? ? ? ? ? ? ?\ra > ?. Example (cur) ? ? ? ? ? ? ? ? ? ? ? ? ?\re > ?. Help (cur) ? ? ? ? ? ? ? ? ? ? ? ? ? ? \rh > ?-------------------------------------------- > ?. Summary (cur) ? ? ? ? ? ? ? ? ? ? ? ? ?\rs > ?. Plot (cur) ? ? ? ? ? ? ? ? ? ? ? ? ? ? \rg > ?. Plot and summary (cur) ? ? ? ? ? ? ? ? \rb > ?-------------------------------------------- > ?. Set working directory (cur file path) ?\rd > ?-------------------------------------------- > ?. Sweave (cur file) ? ? ? ? ? ? ? ? ? ? ?\sw > ?. Sweave and PDF (cur file) ? ? ? ? ? ? ?\sp > ?-------------------------------------------- > ?. Rebuild (list of objects) ? ? ? ? ? ? ?\ro > > Best regards, > > Jakson Aquino > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On Mon, Oct 05, 2009 at 08:03:23PM -0400, Gabor Grothendieck wrote:> Looks interesting. Could you make a vimball out of it to facilitate > installation.It seems that VimBall is capable of creating vimballs of simple plugins which have a file at ftplugin and a another at doc. The Vim-R-plugin has 18 files, and two symbolic links in 7 directories.
[This email is either empty or too large to be displayed at this time]
> Dear R users, > > The author of Tinn-R (Jose Claudio Faria) now is co-author of > Vim-R-plugin2, a plugin that makes it possible to send commands > from the Vim text editor to R. We added many new key bindings, > restructured the menu and created new Tool Bar buttons. The new > version is available at: > > http://www.vim.org/scripts/script.php?script_id=2628 > > NOTES: > (1) Some old key binding changed, including the shortcuts > to start R. > (2) The plugin doesn't work on Microsoft Windows yet.<snip> With apologies. I think I just sent a blank email to the list. In an ironic twist of fate (since I'm writing about a modal text editor), I hit the wrong button. I've been playing with this for a couple of days and while I'm still getting used to it, this plug-in does offer a compelling alternative to emacs-ess. ESS still has some advantages, but this is a very interesting plugin.