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.

______________________________________________
R-help@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.

Reply via email to