Skip to content

Vim-R-plugin was replaced by Nvim-R #204

Description

@jalvesaq

Vim has two new features (+channel and +job) that are similar to Neovim's job control. So, it became easier to support both Vim and Neovim in the same plugin. I could have brought back the support to Neovim into the Vim-R-plugin, but I decided to add support to Vim into Nvim-R, and I am discontinuing the maintenance of the Vim-R-plugin.

I am sorry for the inconvenience, but those who want to follow the development version of the plugin, have to migrate to Nvim-R.

Some notes:

  • You don't have to install Neovim, but you may prefer to run R in a built-in Neovim terminal rather than in a Tmux split pane.
  • It's already possible to run R in Neovim's buffer (built-in terminal) on Windows, although it's not as functional on Windows as it's on Linux yet (RQuit does not work).
  • Nvim-R conflicts with Vim-R-plugin. You have to uninstall the Vim-R-plugin before using Nvim-R.
  • You don't have to install nvimcom because it is included in Nvim-R source tree and Nvim-R will automatically install and update it whenever necessary.
  • You don't have to put library(nvimcom) in your Rprofile because Nvim-R sets the value of the environment variable R_DEFAULT_PACKAGES, including nvimcom.
  • If using Vim, R will run in an external terminal emulator. If you want to run R in a Tmux split pane, you have to put in your ~/.vimrc or ~/.config/nvim/init.vim:
let R_in_buffer = 0
let R_applescript = 0
let R_tmux_split = 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions