Git Product home page Git Product logo

Comments (2)

jalvesaq avatar jalvesaq commented on September 16, 2024

No, you can't. You have to use either

  • Vim + Vim-R+plugin + vimcom or
  • Neovim + Nvim-R + nvimcom

Reason: The communication from R to Vim depends on Vim's 'clientserver' feature, that is, X11 API (Linux), Windows API (Windows) and the equivalent Mac API (Mac OS X). Neovim does not have the 'clientserver' feature, but it does have something more flexible and powerful (job control) which I use to establish the communication from R to Neovim.

Both Vim-R-plugin and Nvim-R have the same features. Whenever I fix a bug or develop something new in one of them I port the changes to the other. Nvim-R is slightly better than the Vim-R-plugin because:

  • Neovim updates the syntax highlight immediately after a library is loaded in R (you have to move the cursor in Vim).
  • In some circumstances, there is a delay in the Object Browser update in Vim (when using GVim on Linux, for example). In Neovim, the Object Browser update always happens immediately after a command is processed by R.
  • We have the option of running R in a Neovim buffer, which makes the navigation from Neovim to R and vice-versa and copying and pasting easier than using Tmux commands.
  • Neovim is more stable than Vim (see jcfaria/Vim-R-plugin#189 and jcfaria/Vim-R-plugin#168).

from nvim-r.

jalvesaq avatar jalvesaq commented on September 16, 2024

Nvim-R now is compatible with both Vim and Neovim.

from nvim-r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.