Dear R users, People who uses vim in Linux/Unix may be interested in checking the plugin for R that I'm developing: http://www.vim.org/scripts/script.php?script_id=2628 The plugin includes omni completion for R objects, code indentation and communication with R running in a terminal emulator (xterm or gnome-terminal). This last feature was already present in Johannes Ranke's plugin. I would like to know if you have any suggestions of improvements. Best regards, -- Jakson Aquino Professor of Political Science Federal University of Cear? Brazil
Jakson A. Aquino <jaksonaquino <at> gmail.com> writes:> > Dear R users, > > People who uses vim in Linux/Unix may be interested in checking the > plugin for R that I'm developing: > > http://www.vim.org/scripts/script.php?script_id=2628 > > The plugin includes omni completion for R objects, code indentation > and communication with R running in a terminal emulator (xterm or > gnome-terminal). This last feature was already present in Johannes > Ranke's plugin. > > I would like to know if you have any suggestions of improvements. > > Best regards, >Excellent work! I wonder if this could be made more portable (e.g., it depends on perl, + R being on a tty terminal, which is not always the case). I'll try to look at it and see if I can port it so it works on windows. But the current communication method I use there are just the clipboard, not sure if it'll be possible. Any alternative ways of sending info both ways from R to any open process (vim) in windows? I have, and like, perl; the only think that is missing is the tty support on windows (I think!) -- Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and Cognition -ABC-, Lentzeallee 94, office 224, 14195 Berlin http://www.josequesada.name/
Jakson Alves de Aquino wrote:> Jose Quesada wrote: > >> I'll try to look at it and see if I can port it so it works on windows. >> But the >> current communication method I use there are just the clipboard, not sure if >> it'll be possible. >> > > Unfortunately, I cannot help on Windows environment. > > >> Any alternative ways of sending info both ways from R to any open >> process (vim) >> in windows? >> > > Netbeans could be a fast and portable route for communication between R > and vim without the need of using either pipes or files saved in disk as > intermediary. Typing ":help netbeans" in vim should show netbeans > documentation. R also has TCP support: write.socket(), read.socket(), > etc. We could begin to explore this route... > >Great finding! I wish I had more time to dedicate to this. Have you seen: http://pyclewn.wiki.sourceforge.net/features+ In my view, R as a language is very good but the tools around it are not good. When a matlab person tries R, their first comments are always how poor the environment is. Sure, one can have a debugger (with a crappy GUI in TK), and there's some editor support, but it's kind of painful. Integreting an R debugger with something like pyclewn would be very good. Best, -jose -- Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and Cognition -ABC-, Lentzeallee 94, office 224, 14195 Berlin http://www.josequesada.name/