-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect to and run R on another host #66
Comments
I am not aware of a direct method. People are using screen. I never used Please if you find anything useful please post here. I will add it to
|
You can't connect to an existing R session on another host, but you can start one by selecting a remote TRAMP directory as the starting directory. Make sure to disable tracebug and developer modes, since they don't know how to pass data to remote R processes. |
As for graphics, if you set up your ~/.ssh/config to always forward X11 (see below), then graphics will just work (very slowly, of course). To enable X11 forwarding for all hosts, add the following in your ~/.ssh/config:
You can also put in a specific host name instead of |
Good point. Thanks. I am adding this to ESS manual. For this to work you need to have x server installed and R to be compiled with X support, and what else? I guess most machines comply with that requirement. amazon ubuntu servers definitely do. I will try to add screen support by 14.03. |
I'm not exactly sure of all the requirements to do remote graphics. I had the X11 forwarding set up long before I was using ESS, so I just tried it and it worked. But I can say that I use R remotely through ESS and TRAMP quite often. |
I tend to use vnc when I work like this, it makes your work session less Sys.setenv( DISPLAY=":1" ) # on remote R, if I ran vncserver on display :1 T: On Tue, Nov 19, 2013 at 8:44 AM, Ryan Thompson notifications@github.comwrote:
mvh |
Would it be possible, and implementable, to connect to an R session on another host, perhaps using ssh, perhaps with tramp.
X-forward will probably be tricky, but personally I'd be happy to run R with DISPLAY=:1 in for example vnc on that other host and just connect with a vnc viewer to see graphics.
The text was updated successfully, but these errors were encountered: