[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.
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:
- 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 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.