Comments (6)
I am not aware of a direct method. People are using screen. I never used
it myself but this is how (I think) it works. Start emacs shell, connect
to remote host with ssh, run screen then run R. You can disconnect the
session and connect again later. There must be instructions on the web.
Please if you find anything useful please post here. I will add it to
the ESS documentation.
Torbjørn Lindahl on Tue, 29 Oct 2013 02:47:22 -0700 wrote:
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.—
Reply to this email directly or view it on GitHub.
from ess.
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.
from ess.
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:
Host *
ForwardX11 yes
You can also put in a specific host name instead of *
.
from ess.
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.
from ess.
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.
from ess.
I tend to use vnc when I work like this, it makes your work session less
lagging.
Sys.setenv( DISPLAY=":1" ) # on remote R, if I ran vncserver on display :1
, and then plot as normal and connect to it with a vnc viewer.
T:
On Tue, Nov 19, 2013 at 8:44 AM, Ryan Thompson [email protected]:
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.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/66#issuecomment-28771415
.
mvh
Torbjørn Lindahl
from ess.
Related Issues (20)
- Emacs/Tramp freezes/hangs due to ESS HOT 3
- installation of ess package causes .emacs to fail to load on emacs-version 28.1 HOT 2
- Function completion failing shell.exec(url )
- How can I salvage a bad start? -- i.e, when no "ESSR" in `search()` HOT 11
- History of commands/code sent to ESS inferior process from script?
- Resource exhaustion with emacs 28's native compilation. HOT 49
- opening documentation in debug mode leads to execution of currently highlighted command
- Syntax highlighting the help pages
- better roadmap / discussion of version number? HOT 2
- iESS entering extra lines and freezing HOT 6
- Font problems editing R code with Doom Emacs, ESS, and `emacs -nw` HOT 2
- Remote R hanging due to stty settings HOT 17
- No indentation in ess-jags-mode HOT 1
- patch note (typos)
- no completions in debug mode HOT 3
- EMACS ESS "Package cl is deprecated" HOT 2
- sas-py: package to using SASPy/Python to run SAS code
- Flymake warning same as issue 883 HOT 2
- mode for treesitter in 29.1? HOT 10
- bad tar file at ESS download site
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ess.