Configure Vim to work with R and Sweave on Windows

I installed vim on windows and would like to configure it so that I can send the R code. I also want to use Sweave. However, I have Googled and could not find clear step-by-step instructions on how to install this.

my attempts:

  • Vim is installed using the executable from ftp://ftp.vim.org/pub/vim/pc/gvim73_46.exe
  • I downloaded the R-plugin from https://github.com/jcfaria/Vim-R-plugin/zipball/master and delivered it to a folder on my computer. following the instructions in the r-plugin.txt file, I installed python-3.2.msi and pywin32-216.1.win32-py3.2exe. I extracted the zip file of the plugin for C: \ Program Files (x86) \ Vim \ vimfiles \ merges with the same name. then I opened Vim and typed: helptags C: \ Program Files (x86) \ Vim \ vimfiles \ doc. I closed Vim, then started R and opened Vim again. I typed: new anewfile.R and received an error message

"The Python interface must be enabled to run Vim-R-Plugin. Please do the following: h r-plug-in-details details

and when I type this I get

error149, without help for installing r-plugin

I also have not seen buttons that send code to R.

: ", | vimrplugin_sleeptime |. "

? - Miktex 2.9 . ? Vim ? .

. rstudio Sweave eclipse, , , , , vim , .

+5
2

, , Rstudio IDE VIm: > a > vim.

0

, Windows Vim 7.3 Python 2.7 3.1. , :version; Python - .

, Python 2.7 (+ pywin32 python 2.7). , , Python Vim, R.

0

All Articles