Vim-R-plugin: Installation

August 6, 2012
By

(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:

  1. First I had to install timux: sudo apt-get installl tmux
  2. 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
  3. Then I changed my localleader to “,”, by adding: let maplocalleader = ",", to my .vimrc file.
  4. 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, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.