Using ESS, If you are editing a org file file via tramp, editing an R src code block should “just work” to start the attached R session remotely.  I do it all the time.

 

Try this: make sure you do NOT have a local R session already and edit your source block….

 

 

From: emacs-orgmode-bounces+mec=stowers.org@gnu.org [mailto:emacs-orgmode-bounces+mec=stowers.org@gnu.org] On Behalf Of Zhihao Ding
Sent: Tuesday, August 11, 2015 11:04 AM
To: emacs-orgmode@gnu.org
Subject: [O] remote R session

 

Hi there, 

 

I was wondering how to automatically fire up a remote R session when editing source code in babel source code block? I'd like to have everything on server and be able to play with it including making plots. Currently I do tangle to a file on server first and then use tramp to access it.  Although I get a remote R session, the problem is that I'll be working on a generated copy. Any ways to make improve this ? 

 

Thanks,

Zhihao