Live data from Hacker News

Turning Vim into an R IDE

medium.com

1–10 of 27 posts

Re: Turning Vim into an R IDE

#2
This setup makes for an interesting blog post, but it goes too far toward being an IDE for my taste. Part of what I like about Vim is that you can customize it to be anything from just text editing—albeit fast and productive text editing—to a full-blown (if hacked-together) IDE.

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.

Re: Turning Vim into an R IDE

#3
This is a superb write up.

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.

Re: Turning Vim into an R IDE

#4
This article suggest a variety of plugins and then describes a fairly exotic workflow that's alien to my vim brain. I use vim because it's simple, powerful and available almost anywhere. By the time I've installed a bunch of non-standard plugins and learned a set of tool-specific commands, I'm no longer working with vim but some other IDE-type-thing that happens to run inside vim.

Re: Turning Vim into an R IDE

#6
I wonder about the point of torturing a minimalist text editor with no graphics support (such as Vim into a comprehensive development and visualization enviromment, by invoking several plugins and some very specific workflows. Would it not make more sense to take the interface (modal editing, etc) and wrap it into module that can be easily embedded into several different IDEs, to handle text-specific tasks? That way, there is a fully powered system that can handle all the other tasks that the text editor was never designed to handle!

Re: Turning Vim into an R IDE

#7

As much as I love Vim and R, I think the experience is pointless without embedded graphs. It would be perfect if it was possible to view a graph in a Vim split.

I used TMux to do exactly that. It worked good BUT RStudio is so good.

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.

Re: Turning Vim into an R IDE

#8

This setup makes for an interesting blog post, but it goes too far toward being an IDE for my taste. Part of what I like about Vim is that you can customize it to be anything from just text editing—albeit fast and productive text editing—to a full-blown (if hacked-together) IDE. 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 customization…

> but it goes too far toward being an IDE for my taste

To be fair the Title is "Turning Vim into an R IDE :)

Re: Turning Vim into an R IDE

#9
> Why Not RStudio?

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

Re: Turning Vim into an R IDE

#10
post #6

I wonder about the point of torturing a minimalist text editor with no graphics support (such as Vim into a comprehensive development and visualization enviromment, by invoking several plugins and some very specific workflows. Would it not make more sense to take the interface (modal editing, etc) and wrap it into module that can be easily embedded into several different IDEs, to handle text-specific tasks? That way,…

That is one of the goals of neovim. And it's even being put to the test: The VSCode-vim team is indeed working on a neovim integration.
Post reply on HN