Hacker News new | ask | show | jobs
by dm319 3116 days ago
Have you tried Nvim-R?

I love it.

You can send a line to the R console using <space>. I've assigned loads of keyboard shortcuts beginning with your local leader that will do things like str(), levels(), head(), tail(), sum() on the object under the cursor.

It works fine with plotting figures, and I think you can set it up with tmux, though I use vim's buffers.

Haven't seen any disadvantages to compared to Rstudio yet. I guess you could even do :!git add ... from vim.

[1] https://github.com/jalvesaq/Nvim-R

1 comments

Just to settle the Vim vs Emacs debate in the context of R, I refer you to R FAQ 6.2: https://cran.r-project.org/doc/FAQ/R-FAQ.html#Should-I-run-R...