I want to run R
on a remote box under a local Emacs
(I do not want to run Emacs on the remote box).
I can run R
on a remote host using TRAMP
:
(let ((default-directory "/user@remote:~"))
(R))
and everything works fine except that when the connection to remote
is lost, R
dies. This is no good because this means that I have to re-load all the data into R
after restarting it, which takes time.
Is it possible to tell TRAMP
to use a persistent terminal? (GNU Screen
or tmux
or Mosh
or dtach
)
See also emacs-devel
thread tramp:sshx:(screen|tmux).
ess-remote
to be obsolete. – Phio