(This article was first published on Ecological Modelling... » R, and kindly contributed to R-bloggers)
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:
cd ~/.vim/bundle
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:
if(interactive()){
library(colorout)
library(setwidth)
library(vimcom)
}
That it, everything works perfectly.
To leave a comment for the author, please follow the link and comment on his blog: Ecological Modelling... » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).