Skip to content

R-Gui with remote execution?

3 messages · Steven McKinney, Simon Urbanek, Martin Renner

#
Not sure if this is all the support you were referring 
to, but I use Carbon Emacs from
http://homepage.mac.com/zenitani/emacs-e.html
and can invoke e.g. X11() and plot to the X11 device
(Mac OS X 10.6.7).

Steve McKinney
#
On Jul 15, 2011, at 6:08 PM, Steven McKinney wrote:

            
No. I was talking about the inverse - i.e. emacs that can run on X11 so you can tunnel it through SSH since Bob will be running emacs on the remote machine, not the local one. You can't tunnel Cocoa/Carbon so Carbon Emacs is useless for that purpose (unless it's compiled with X11 support besides Carbon...).

Cheers,
Simon
#
Sounds cool, I'll check it out!
I run R within Aquamacs (a Cocoa version of Emacs). By invoking a shell (M-x shell), then ssh -Y me at servername I can start R on my server and send lines of R code across after "M-x ess-remote". New graphs open in a X11 window. I plot final versions to pdf and rsync these back to my mac. This way I can have all my scripts locally and enjoy the benefits of Aquamacs. 

For jobs that take hours to run I rsync scripts and data to the server and execute with nohup. 

HTH,
Martin




Martin Renner					mrenner at gmx.com
Post-doctoral Fellow				phone: 907-226 4672
University of Washington			   or: 907-235 0728
School of Aquatic and Fishery Sciences		Seattle, USA