Nvim-R
slimux
Our great sponsors
Nvim-R | slimux | |
---|---|---|
15 | 1 | |
935 | 0 | |
- | - | |
8.8 | 0.0 | |
10 days ago | over 5 years ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Nvim-R
-
Outdated tutorials
If you do a lot of R coding, then a package more specific to R, and more fully featured is Nvim-R.
-
data science (jupyter notebooks) with vim?
The whole reason I ended up going this route was also sort of data-science related: there’s a really spectacular R plugin for Vim, which I wanted to recapitulate as best I could when using python: https://github.com/jalvesaq/Nvim-R
-
New to neovim, need quick help to set up R
I am slowly getting into using neovim. I am now trying to setup my R programming environment. I have successfully installed Nvim-R with Packer (https://github.com/jalvesaq/Nvim-R). Now, I would like to use the radian console (https://github.com/randy3k/radian/blob/master/README.md#nvim-r-support). In the documentation, it is said to put this in the config file:
-
Any Nvim-R users tried LSP?
But just wondering if people have tried using it with the Nvim-R plugin? I'm not sure it is worth the effort for me looking through the steps needed. Also, do I need to switch my init.vim/vimrc to lua? Perspectives appreciated!
-
Neovim support for editing Quarto (.qmd) files
However, there doesn't seem to be much available support yet for Quarto editing. The only plugin I could find is limited to syntax highlighting. To my knowledge, Quarto also isn't a built-in filetype yet. I've worked around this by manually creating a filetype and using R Markdown syntax highlighting with the Nvim-R plugin, which lets me send R code in chunks to a REPL and see results while I edit. Nvim-R also supports evaluation of Python code chunks using an R package that evaluates Python code, but that's not an ideal solution for editing a Python-only file.
-
neovim as a python IDE
looking for a neovim plugin that's similar to Nvim-R, but for python.
-
Getting ncm2 and ncm-r to work
For that reason, I want to use Nvim-R in combination with ncm-R. I get the completion to work if I use it manually with Ctrl+x Ctrl+o, but it does not start automatically. My init.vim file looks like this:
-
Advice for r and rmarkdown using vim?
I use Nvim-R. It took a bit of time to learn the key bindings, but the documentation is pretty clear.
-
Alternatives to Rstudio
If you want to go in a very different direction, you can try vim (or neovim) with nvim-r. For a variety of reasons, that’s what I tend to use.
-
To those that use R without RStudio: Why? and What do you do instead?
nvim + Nvim-R user here as well.
slimux
-
On Repl-Driven Programming
I use a vim plugin called slimux to send code from vim into a REPL running in another tmux pane. It works really well.
Here's the fork that I'm currently using https://github.com/grusky/slimux
I use it with python and node.is and MySQL and psql
It's great because it can work with any REPL.
I used to use jupyter notebooks but almost exclusively use slimux now unless I need to some data visualisation or computer vision.
VS code's ipython REPL is quite good and has support for images and graphs.
What are some alternatives?
languageserver - An implementation of the Language Server Protocol for R
vim-slime - A vim plugin to give you some slime. (Emacs)
radian - A 21 century R console
preplish - A Perl 5 REPL written in Bash
jupyter - An interface to communicate with Jupyter kernels.
nvim-tree.lua - A file explorer tree for neovim written in lua
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
httpgd - Asynchronous http server graphics device for R.
telescope-media-files.nvim - Telescope extension to preview media files using Ueberzug.
nvim-python-repl - A simple neovim plugin that leverages treesitter for interacting with a python/scala/lua REPL.
jupyterlab-lsp - Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol