[ESS] graphics window for TRAMP sessions

Chris Wallace cew54 @end|ng |rom c@m@@c@uk
Sat May 21 08:28:12 CEST 2022


You can set the -X in your .shh/config. Use

Host *
ForwardX11 yes

https://chr1swallace.github.io
________________________________
From: ESS-help <ess-help-bounces using r-project.org> on behalf of Tyler Smith via ESS-help <ess-help using r-project.org>
Sent: Friday, May 20, 2022 8:51:38 PM
To: ESS-help <ess-help using r-project.org>
Subject: [ESS] graphics window for TRAMP sessions

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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fess-help&data=05%7C01%7Ccew54%40universityofcambridgecloud.onmicrosoft.com%7Ce63fc282115f4809b0d508da3a9a3ecd%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637886731396950817%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oN%2F%2Bfmd2N4VsslCdZ8LyyOsgLTFBCDynsG0L5MM%2FWbE%3D&reserved=0

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list