Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. R
  3. Nvim-R <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

Nvim-R <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

GPL-2.0Vim Scriptv1.0.0

A Vim plugin that enhances editing R scripts by enabling seamless communication between Vim and R.

GitHubGitHub
982 stars132 forks0 contributors

What is Nvim-R <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">?

Vim-R is a Vim plugin that enhances support for editing R scripts by enabling seamless communication between the Vim editor and the R statistical environment. It allows users to execute R code, access omnicompletion, browse objects, and view help documentation directly within Vim, streamlining the workflow for R programming.

Target Audience

R programmers and data scientists who prefer using Vim or Neovim as their primary code editor and want integrated R support without switching to a separate IDE.

Value Proposition

Developers choose Vim-R for its deep integration with Vim, offering features like direct code execution, object browsing, and syntax updates that mimic an IDE experience while staying within their preferred editor environment.

Overview

Vim plugin to work with R

Use Cases

Best For

  • Editing R scripts directly within Vim with real-time code execution
  • Using omnicompletion for R object names and function arguments
  • Browsing and manipulating R objects without leaving the editor
  • Accessing R help documentation from within Vim
  • Formatting R code selections using built-in commands
  • Knitting Rnoweb files and viewing PDF output seamlessly

Not Ideal For

  • Neovim users seeking actively maintained R integration plugins
  • Projects requiring graphical debugging tools or integrated plotting environments
  • Teams needing straightforward setup without dependency on external R packages
  • Beginners to Vim or R who prefer GUI-based IDEs like RStudio

Pros & Cons

Pros

Integrated Code Execution

Supports sending R commands from Vim to R Console via built-in terminal, Tmux, or Windows methods, enabling seamless interaction as described in the communication diagram.

Rich R-Specific Features

Includes omnicompletion for objects and arguments, an Object Browser for viewing R objects, and direct R help access, all within Vim for a cohesive workflow.

Automatic Syntax Updates

Updates syntax highlighting when new R libraries are loaded and handles PDF output after knitting Rnoweb files, reducing manual steps.

Direct Output Insertion

Allows inserting R command output into the editor with :Rinsert, facilitating quick data inspection and analysis.

Cons

Waning Developer Support

The plugin is superseded by R.nvim for Neovim, and the developer will only fix serious bugs, limiting future improvements and bug fixes.

Complex Configuration

Requires setting up different communication methods (terminal, Tmux, Windows) and depends on the *vimcom* R package, which can be error-prone and time-consuming.

Potential for Unresolved Issues

With minor bugs not being fixed, users may encounter persistent small problems that detract from the editing experience.

Frequently Asked Questions

Quick Stats

Stars982
Forks132
Contributors0
Open Issues1
Last commit1 day ago
CreatedSince 2014

Tags

#code-editing#r-language#ide-integration#statistical computing#tmux#windows#vim-plugin

Built With

V
Vim
T
TCP
R
R
t
tmux
L
LaTeX

Included in

R6.4k
Auto-fetched 1 day ago

Related Projects

radian <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">radian <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

A 21 century R console

Stars2,272
Forks87
Last commit3 days ago
IRkernel <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">IRkernel <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

R kernel for Jupyter

Stars1,694
Forks298
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub