Nvim-R
Vim plugin to work with R (by jalvesaq)
vim-slime
A vim plugin to give you some slime. (Emacs) (by jpalardy)
Our great sponsors
Nvim-R | vim-slime | |
---|---|---|
15 | 55 | |
937 | 1,790 | |
- | - | |
8.8 | 9.4 | |
29 days ago | 17 days ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 only | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of Nvim-R.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-19.
-
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.
vim-slime
Posts with mentions or reviews of vim-slime.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-25.
-
Livebook: Elixir's Swiss Army Knife
For vim users, check out vim-slime[1]. It's really changed my workflow! It can work for any language that uses a REPL, including bash/shell. Combined with tmux, it is an amazing and (in hindsight) obvious tool. I honestly can't imagine myself going back to not having it now.
-
NeoVim Capability Functions
For splitting the terminal you could try either toggleterm or tmux. If you want to send things from one tmux pane to another, then you can use slime. For a toggle-able filetree, you can use nvim tree.
-
Help running chunks of Python to a terminal as REPL
I use vim-slime. It works really well in tmux. https://github.com/jpalardy/vim-slime. Just blocks of code as cells
-
slimux.nvim - Simple plugin to send text to tmux panes
This is yet another plugin to capture text from the current buffer and send it to a tmux pane. I was using https://github.com/jpalardy/vim-slime previously, and wished I could just set sensible defaults for where to send text. Also, I wanted to create my first Neovim plugin! I have to say, after writing a bit of Vimscript in the past, the Neovim Lua API makes me a much happier camper.
-
If we can have this functionality in neovim, I'll probably never leave my room again
I use slime (which sends code to tmux panes), tmux (of course) and ipython for this. For example, the code I sent to ipython was with a simple keybinding ...
-
Running codes in one line
If I understand correctly, what you need is a combination of vim, tmux, ipython and vim-slime.
-
Tools for productivity
REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
-
Favorite REPL/Notebook/Task Running plugins and workflow?
For the record/list, there's also: - https://github.com/hkupty/iron.nvim and - https://github.com/jpalardy/vim-slime
-
Outdated tutorials
However, if you're coding in an interpreted language like python, R, bash, etc., then there is one plugin which you are likely to find helpful. That's vim-slime.
- Which vim plugins do not have a lua equivalent yet?
What are some alternatives?
When comparing Nvim-R and vim-slime you can also consider the following projects:
languageserver - An implementation of the Language Server Protocol for R
vim-repl - Best REPL environment for Vim
radian - A 21 century R console
neovim-remote - :ok_hand: Support for --remote and friends.
nvim-tree.lua - A file explorer tree for neovim written in lua
iron.nvim - Interactive Repl Over Neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
Pluto.jl - 🎈 Simple reactive notebooks for Julia
httpgd - Asynchronous http server graphics device for R.
neoterm - Wrapper of some vim/neovim's :terminal functions.
telescope-media-files.nvim - Telescope extension to preview media files using Ueberzug.
vim-ipython-cell - Seamlessly run Python code in IPython from Vim