Skip to content

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

2 messages · Pan, Jia-chiun/潘家群, Jakson A. Aquino

#
Dear list,

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?

regards,
Jia-Chiun Pan
#
On Tue, Nov 03, 2009 at 04:59:30PM +0800, Pan, Jia-chiun/??? wrote:
You may put the following line in your vimrc:

let g:vimrplugin_nosingler = 1

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