Skip to content
Back to formatted view

Raw Message

Message-ID: <20091103112821.GA5702@xyz>
Date: 2009-11-03T11:28:21Z
From: Jakson A. Aquino
Subject: Run R code by Vim-R-plugin (How do I to run two or more	programs at the same time)?
In-Reply-To: <1257238770.10796.2.camel@panjc-laptop>

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.