[ESS] Hang when opening remote session

Alex Branham @|ex@br@nh@m @end|ng |rom gm@||@com
Wed Jul 11 16:02:20 CEST 2018


Just a shot in the dark, but does /ssh:root using localhost#6000:/root/.Rhistory exist and you have read/write permission?

Alex

On Tue 10 Jul 2018 at 13:08, Gammel Holte via ESS-help <ess-help using r-project.org> wrote:

> Hi,
>
> I'm using ESS version 17.11 from MELPA (build 20180710.400) on Emacs 26.1,
> Linux.
>
> No configuration, just (use-package ess).
>
> ESS hangs when I open a remote session. I first open a remote file at
> /ssh:root using localhost#6000:/root/foo.r (this is an Docker container listening
> on port 6000, but it shouldn't matter). That works fine.
>
> Then I press C-c C-j to evaluate a line in foo.r and ESS tries to open a
> remote session. It hangs showing this message on the minibuffer: "Decoding
> remote file ‘/ssh:root using localhost#6000:/root/.Rhistory’ using ‘base64 -d -i
>>%s’...done". Full message log below.
>
> If I use the (semi-obsolete according to docs) method of running a shell
> and ess-remote, it works. I should note local R is on
> /run/current-system/sw/bin/R (which is also the value of
> inferior-ess-r-program). Remote R in the container is on /usr/bin/R, if
> this makes a difference.
>
> Any ideas? Thanks.
>
> Tramp: Inserting ‘/ssh:root using localhost#6000:/root/.Rhistory’...
> Tramp: Encoding remote file ‘/ssh:root using localhost#6000:/root/.Rhistory’ with
> ‘base64 <%s’...done
> Tramp: Decoding local file ‘/tmp/tramp.T6L3xV’ with
> ‘base64-decode-region’...done
> Tramp: Inserting ‘/ssh:root using localhost#6000:/root/.Rhistory’...done
> Tramp: Opening connection for root using localhost using ssh...
> Tramp: Sending command ‘exec ssh -q -l root -p 6000 -o ControlMaster=auto
> -o ControlPath='tramp.%C' -o ControlPersist=no -e none localhost’
> Tramp: Waiting for prompts from remote shell...done
> Tramp: Found remote shell prompt on ‘localhost’
> Tramp: Opening connection for root using localhost using ssh...done
> Tramp: Encoding local file ‘/tmp/tramp.rAJ6W7’ using
> ‘base64-encode-region’...done
> Tramp: Decoding remote file ‘/ssh:root using localhost#6000:/root/.Rhistory’
> using ‘base64 -d -i >%s’...done
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list