Re: Script to send selected text from Vim to R in Ubuntu

2013-02-08 Thread Josef Montag
On Thursday, February 7, 2013 12:54:26 AM UTC+1, toothpik wrote: On Tue, Feb 05, 2013 at 08:45:10AM -0800, Josef Montag wrote: Hi all, I have started using Ubuntu and try to figure out ways and tools for a simple script. I use Vim to write code for R and need a script that

Re: Script to send selected text from Vim to R in Ubuntu

2013-02-06 Thread tooth pik
On Tue, Feb 05, 2013 at 08:45:10AM -0800, Josef Montag wrote: Hi all, I have started using Ubuntu and try to figure out ways and tools for a simple script. I use Vim to write code for R and need a script that takes a selection in Vim and sends it to R and have this script attached to a key

Re: Script to send selected text from Vim to R in Ubuntu

2013-02-05 Thread Gary Johnson
On 2013-02-05, Josef Montag wrote: Hi all, I have started using Ubuntu and try to figure out ways and tools for a simple script. I use Vim to write code for R and need a script that takes a selection in Vim and sends it to R and have this script attached to a key combination. I'm not sure

RE: Script to send selected text from Vim to R in Ubuntu

2013-02-05 Thread John Beckett
Josef Montag wrote: I have started using Ubuntu and try to figure out ways and tools for a simple script. I use Vim to write code for R and need a script that takes a selection in Vim and sends it to R and have this script attached to a key combination. I'm not sure whether this could all be

Re: Script to send selected text from Vim to R in Ubuntu

2013-02-05 Thread lith
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