[ESS] ess-eldoc via ssh remote session

Vitalie Spinu spinuvit at gmail.com
Thu Oct 3 00:37:12 CEST 2013


All the issues with the remote should be fixed now. We moved to
standalone R package for our support code. That made things much easier
with the remote sessions. I would really appreciate if people could
check if it works with ess-remote (in shell and ssh) and tramp.

Thanks, 

  Vitalie


 >>> LI BOWEN on Wed, 18 Sep 2013 05:38:28 +0000 wrote:

 > 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> 
 >> 

 > Hi, 
 > 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 
 > screen.
 > 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.
 > source(‘ESSR.R’)
 > M-x ess-remote to attach the current process to ess.
 > Lastly,

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

 > http://libw.name/wordpress/?p=49

 > ______________________________________________
 > ESS-help at r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list