[R-SIG-Mac] R-Gui with remote execution?

Martin Renner martin.renner at stonebow.otago.ac.nz
Sat Jul 16 02:08:51 CEST 2011


>>> Mac side. Another side-effect is that you can connect and disconnect without losing the session. The
>>> project (RemoteR) is far from complete (I still need to tie-in Quartz) but if anyone becomes excited
>>> it's available on RForge.net: http://svn.rforge.net/osx/trunk/RemoteR
Sounds cool, I'll check it out! 


>>>> If not, is there a favorite way to run remotely using X11
>>>> better than the paste-from-editor command-line interface?
>>>> 
>>> 
>>> I suppose most people use emacs + ESS so you don't need to copy/paste ;) -- I'm not sure whether Apple
>>> emacs supports X11, you may have to compile it from sources.
>> 
>> 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).
>> 
> 
> 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...).

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



More information about the R-SIG-Mac mailing list