I use tramp to edit R files on a remote server. When I evaluate R code within ESS-mode, it starts an R interpreter on the remote machine. However, at the moment ssh -X
to the server does not work, so any R command that produces graphics does not connect to my local X11 server.
Is it possible to configure things so that ESS launches a local R interpreter and, hence, graphics would be displayed locally?
sshfs
to do this since then the R interpreter executes locally and would like to know iftramp
can also do this. – cfgauss May 26 '20 at 23:02sshfs
and TRAMP take opposite approaches.sshfs
makes remote files appear local with a mount, allowing all processing to be local. TRAMP sends all processing to the remote machine, where files are dealt with as local only. So I don't think you can solve your use case with TRAMP. If you do want to save the remote graphics as files without invoking a viewer, you will be able to view those files in Emacs. But that's a different workflow. – gregoryg May 28 '20 at 14:31