Turning Vim into an R IDE
medium.com
medium.com
Absolutely would. The issue is that this is (evidently) a surprisingly hard problem. I say evidently because I dont know /why/ it is so hard, only that extremely few people have succeeded.
As an Emacs/ESS user, I was rather embarrassed/traumatized to see how well Ncm-R completion worked. I’d also somehow missed that there was a usable R LSP implementation around.
[1] https://github.com/withoutboats [2] https://news.ycombinator.com/user?id=tatterdemalion [1] https://github.com/withoutboats/notty
The enemy of Vim with R is RStudio. It works so well for me I haven't fired up Vim with R in over 3 years. Also I find RStudio Vim to be good enough for me.
> Yes, I know RStudio has Vim keybindings, but it isn’t the real thing. At this point, I’m ruined by Vim.
I say the next step is that we have NeoVim running inside of RStudio. I also think we will have that happening in VSCode a mind bending text editor inside of a text editor.
https://github.com/VSCodeVim/Vim#neovim-integration
"We now have neovim integration for Ex-commands. To enable,..."
I think what I would like is a way to embed Vim or Neovim into Rstudio. Rstudio's Vim mode is nice, but I'm too used to my own customizations. It looks like people have experimented with doing this: https://github.com/jalvesaq/Nvim-R/issues/142.
To be fair the Title is "Turning Vim into an R IDE :)
R studio already has vim key bindings, so trying to make vim into rstudio-like seems like spending time on the wrong problem. As in, even if you succeed beyond your wildest dreams you're still not going to compete with R studio.
Things that make Rstudio great that is not so easy to implement include the knitR integration and Rmarkdown integration and embedded graphs and most importantly Rstudio server.
Embedded charts are not a use case for Vim. Some R charts are interactive too.
Vim mode is available on some R IDEs.