As a follow up to my own question, the problem was with my version of vim. I needed vim 7.3, was using 7.2.
I updated and it works as expected. Just make sure your version of python matches the version of pywin you install if on windows. On Fri, Jun 17, 2011 at 6:51 PM, Idris Raja <idris.r...@gmail.com> wrote: > I am trying to get the > Vim-R-Plugin<http://www.vim.org/scripts/script.php?script_id=2628> to work > with gvim and R on Windows 7. > > When I open a .R file in VIM, it complains and says ""Python interface must > be enabled to run Vim-R-Plugin." I have installed pywin32 for python 2.7, > and added the following 4 lines to my _vimrc per the instructions > here<http://blog.binfalse.de/wp-content/uploads/2010/12/vim-r-plugin-101217.html> > . > > set nocompatible > syntax enable > filetype plugin on > filetype indent on > > Ideas on how to fix this? > > On Fri, Jun 17, 2011 at 2:41 AM, Yoni Teitelbaum < > yoni.teitelb...@escapemg.com> wrote: > > Hello all, > > > > > > I have a php script that makes a call > > > > > > system(PATH_PROJECT_ROOT . '/sh/combineDays.sh ' . $dateString . " " . > PATH_PROJECT_ROOT); > > > > > > and within combineDays.sh I run an R script: > > > > > > R --slave --vanilla --args $testDates $BASEDIR $defaultSearchVersion < > $BASEDIR"R/combineDays.R" > > > > > > At the end of this R script, I try to write results to a file, but the > script seems to stop executing after I call sink(results.file) in the R > script. I previously observed similar behavior when trying to call library() > from within the same R script. > > > > > > When I run combineDays.sh from the shell, everything works fine. > > > > > > Any ideas? > > > > > > Thanks. > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.