Vim-R-plugin: Installation

[This article was first published on Ecological Modelling... » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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 their blog: Ecological Modelling... » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)