[ESS] ess-eldoc via ssh remote session

LI BOWEN bowenli37 at gmail.com
Wed Sep 18 07:38:28 CEST 2013

Vitalie Spinu <spinuvit <at> gmail.com> writes:

> What is ssh.el? Do you rely on ess-remote? Please provide reproducible
> steps. Or better, use tramp. All ESS features should work with tramp
> remote session.
>     Vitalie
>  >> Jannis <bt_jannis <at> yahoo.de>
>  >> on Tue, 25 Jun 2013 13:42:26 +0200 wrote:
>  > Dear ESS community,
>  > I use ESS and ssh.el to connect to a remote R instance on a cluster 
machine. The
>  > ess-eldoc argument hints that I normally see when running R locally 
however do
>  > not work in this case. Is there any way to switch this on?
>  > Thanks a lot
>  > Jannis
>  > ______________________________________________
>  > ESS-help <at> r-project.org mailing list
>  > https://stat.ethz.ch/mailman/listinfo/ess-help
> ______________________________________________
> ESS-help <at> r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

2.3 Summary of workflow

Put in init.el to be able to send key to terminal from ssh.

;; used to send screen keybindings to shell in emacs
(define-key shell-mode-map (kbd "C-l") (lambda (seq) (interactive "k") 
(process-send-string nil seq)))
(define-key inferior-ess-mode-map (kbd "C-l") (lambda (seq) (interactive 
"k") (process-send-string nil seq)))
(for new R session)From terminal ssh to host, create screen session and 
launch R in the screen session. C-z to send R to background. Detach from 
In emacs M-x ssh, next enter user at host, and password.
In ssh, enter TERM=xterm, for screen to work.
sh grabssh, save environment variables for X11 forwarding.
screen -r and run bin/fixssh to update screen environment variable for X11 
forwarding. If you are in R, C-l C-z to send R to background first.
fg, to send R to foreground.
M-x ess-remote to attach the current process to ess.

(ess-process-put 'funargs-cache (make-hash-table :test 'equal))
(ess-process-put 'funargs-pre-cache nil)


More information about the ESS-help mailing list