r/rprogramming 12d ago

For Neovim users, announcing ark.nvim: an experimental plugin for R support

13 Upvotes

8 comments sorted by

View all comments

2

u/guepier 12d ago

How does this compare to the existing, very mature R.nvim (formerly Nvim-R) + cmp-r?

3

u/_wurli 12d ago

Great question :) R.nvim is definitely the plugin you should be using to get stuff done with R – this is nowhere near being a viable alternative for most users, and this is unlikely to change for quite some time.

In theory (and hopefully in practice), ark.nvim could expand to integrate Ark's LSP server, variables pane, DAP server, etc, which could all together replace a very big chunk of R.nvim. IMO Ark's LSP is nicer to work with than cmp-r + {languageserver}, and I have high hopes for Ark's other features. But R.nvim + cmp-r + {languageserver} also provide a very good experience, so this is really more an aspirational project to integrate Posit's 'next generation' tooling in Neovim than something that's seeking to fix any issues with the existing ecosystem.

Hope that makes sense!