> a script that takes a selection in Vim and sends it to R
You should probably run R via screen/tmux and then use a vim plugin for screen/tmux to send the code to R. You could either use a generic plugin or, e.g., rcom[1] (which can use screen.vim or its own functions) for that purpose.
Since your question is specifically about R, you might also want to check the vim-R-plugin[2], which provides a more complete, more sophisticated, but also more complex solution for your problem.
HTH
[1] https://github.com/tomtom/rcom_vim
[2] http://www.vim.org/scripts/script.php?script_id=2628
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Tuesday, February 5, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment