Hi all,

I've been a happy user of R under cygwin for a number of years now.  I
prefer the bash interface and readline history, and I find Vi to be the
most efficient editor.

Recently, the edit command has started giving me errors:

> edit(file='foo.R')
Error in edit(name, file, title, editor) : unable to run editor 'vi'

Vi works from bash shell and is in the path. 'vi' is a symbolic link to
the executable, so I tried specifying the full path using
options(editor='c:/cygwin/bin/vim-nox.exe'):

> edit(file='foo.R')
NULL
Warning message:
In edit(name, file, title, editor) : editor ran but returned error
status

I've tried changing to another editor (ultraedit) and that works, but I'd
like to get Vi working again.  Any suggestions for troubleshooting would
be appreciated.

Thanks in advance
Matt

______________________________________________
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.

Reply via email to