On Ubuntu 12.04, I took to the following steps to install Vim-R-plugin:
- First I had to install timux:
sudo apt-get installl tmux
- Having already installed vim-pathogen, I used git to clone to install vim-r-plugin and vim-screen plugin, which is also required:
git clone git://github.com/vim-scripts/Vim-R-plugin
git clone git://github.com/vim-scripts/Screen-vim---gnu-screentmux
- Then I changed my localleader to “,”, by adding:
let maplocalleader = ",",to my .vimrc file.
- Finally I added the following lines to my .Rprofile:
That it, everything works perfectly.