[ESS] graphics window for TRAMP sessions
Fernando Mayer
|ern@ndom@yer @end|ng |rom gm@||@com
Sat May 21 00:12:19 CEST 2022
I do this normally with TRAMP, however, you need to enable X11 forwarding
both on the client and the server side.
On the client side: edit (or create) ~/.ssh/config to include the following
line
ForwardX11 yes
On the server side: you will need to edit /etc/ssh/sshd_config to
include/enable the following line
X11Forwarding yes
In a normal TRAMP session I'm able to display R graphics on my local
machine.
HTH,
---
Fernando de Pol Mayer
Laboratório de Estatística e Geoinformação - LEG
Departamento de Estatística - DEST
Universidade Federal do Paraná - UFPR
URL: http://leg.ufpr.br/~fernandomayer
e-mail: fernando.mayer [@] {gmail.com, ufpr.br}
On Fri, May 20, 2022 at 4:52 PM Tyler Smith via ESS-help <
ess-help using r-project.org> wrote:
> Hi,
>
> I'm working on a remote machine. I load my script file via `C-x C-f
> /ssh:host:file.Rmd`. When I run code from the code blocks, it starts a
> session on the remote machine, no problems. However, if I do a plot,
> nothing happens. Or at least nothing is displayed.
>
> I've been working around this by creating a jpeg file for each of my plots
> on the remote machine, then opening the file this creates to view the image.
>
> I wonder: is it possible to use ESS/TRAMP in a way that allows the remote
> R session to display a graphics window on my local machine? Without Emacs,
> I can do this via `ssh -X`, is there a way to tell TRAMP to use the `-X`
> flag? Or is this possible with ESS-remote instead of TRAMP?
>
> Thanks for any suggestions,
>
> Tyler
>
> --
> plantarum.ca
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
[[alternative HTML version deleted]]
More information about the ESS-help
mailing list