Last Updated on March 27, 2023 by mishou
I. What is Nvim-R?
See the the following tutorial linked below :
https://github.com/jamespeapen/Nvim-R/wiki/Use
II. Installing Nvim-R with Pucker
Add the following line to the plug.lua file.
use {
'jalvesaq/Nvim-R',
branch = 'stable'
}
III. How to use Nvim-R
Open a .R, .Rnw, .Rd, .Rmd or .Rrst file with Neovim and type \rf. Then, you will be able to use the plugin key bindings to send commands to R. To end it, press \rq.
- Send :: Entire File
\aa
- Send :: Entire Block
\bb
- Send :: Entire Function
\ff
- Send :: Entire Selection
\ss
- Send :: Entire Line
\l

You can learn more here: