[R] Run R code by Vim-R-plugin (How do I to run two or more programs at the same time)?

Jakson A. Aquino jaksonaquino at gmail.com
Tue Nov 3 12:28:21 CET 2009


On Tue, Nov 03, 2009 at 04:59:30PM +0800, Pan, Jia-chiun/潘家群 wrote:
> I use R on Ubuntu 9.04 by Vim editor with vim-R-plugin. I want to use
> Vim to run two R programs A.R and B.R. At beginning, I sent A.R to R
> prompt by pressing "\rf" and "F5" on my keyboard, and it works well.
> Meanwhile, I want to sent another file B.R to another R window.  When I
> press "\rf", the R window shows up and still runs A.R.
> 
> How could I run B.R in another R window by using vim-R-plugin?

You may put the following line in your vimrc:

let g:vimrplugin_nosingler = 1

Then, each Vim buffer will start its own R process.




More information about the R-help mailing list