Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make R plot locally in a remote ssh connection?

Tags:

ssh

r

ubuntu

I'm currently connection via ssh to a remote computer where I have R set up in VIM. I'm using ubuntu on both sides.

When I try to plot something from R it will appear on the remote machine rather than the local. Is there any way I can make R plot locally instead?

like image 400
svenski Avatar asked Jul 03 '12 18:07

svenski


1 Answers

You can use SSH with the -X switch to forward graphical parameters to your local machine.

like image 89
Jeff Allen Avatar answered Oct 18 '22 01:10

Jeff Allen