Re: graphics window for TRAMP sessions

Chris Wallace via ESS-help <[email protected]>
Newsgroups gmane.emacs.ess.general
Message-ID <LNXP265MB08121B125A9FE58C2C2E0853F9D29@LNXP265MB0812.GBRP265.PROD.OUTLOOK.COM>
You can set the -X in your .shh/config. Use

Host *
ForwardX11 yes

https://chr1swallace.github.io
________________________________
From: ESS-help <[email protected]> on behalf of Tyler Smith via ESS-help <[email protected]>
Sent: Friday, May 20, 2022 8:51:38 PM
To: ESS-help <[email protected]>
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

______________________________________________
[email protected] mailing list
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fess-help&amp;data=05%7C01%7Ccew54%40universityofcambridgecloud.onmicrosoft.com%7Ce63fc282115f4809b0d508da3a9a3ecd%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637886731396950817%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=oN%2F%2Bfmd2N4VsslCdZ8LyyOsgLTFBCDynsG0L5MM%2FWbE%3D&amp;reserved=0

	[[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.