Disclaimer: this question was posted prior to unix.se but, as recommended by a moderator, was reposted here. The original question was not (yet) deleted since some good comments were posted there.
I'm currently using
neovim as my IDE for writing and executing
GNU R-code (using the
Nvim-R plugin, which serves as my REPL), which works great on my local machine. When having higher workloads or demands, I'm
ssh-ing into a remote machine, installing my
nvim plugins and running
nvim as a "local" application on the server.
Recently I realized that
Emacs has the ingenious
TRAMP mode (Transparent Remote Access, Multiple Protocols), which allows to not only open files remotely, but also execute commands on a remote machine. From what I understand this means that I could use
Emacs as a REPL (e.g., using
ESS), writing code using my local
Emacs-instance, but executing it on a remote machine where I have
GNU R installed (see also ESS processes on remote computers).
I'd be interested to know if something similar exists for
neovim. I'm aware that I can edit files remotely using
vim :e scp://USER@SERVER:PORT//absolute/path/to/file
but from what I understand this actually creates a temporary copy of the file on my local machine; when running my
Nvim-R-REPL this opens the working directory locally on
Any ideas? Has anybody achieved something similar?