Hmmm, I've done some more troubleshooting. Definitely not relevant to
ess-mode at all. I think it's an OS X-specific issue with XQuartz.

Cannot launch xterm within M-x shell if launched from daemon, but can when
launched from Cocoa app and from normal terminal instance.

Tried ssh-ing into a linux machine. Using the daemon there, everything
works fine. I'm thinking OS X/XQuartz is causing trouble somewhere. I'll
bet if I installed emacs as xemacs the issue would go away, but I don't
really want to do that...

Thanks anyway!


On Wed, Mar 26, 2014 at 9:53 AM, Stephen Eglen <sje30@cam.ac.uk> wrote:

>
> hi Derrik,
>
> When starting emacs as `emacs --daemon', inferior *R* processes can no
> > longer connect to X11 to produce displays.  This seems like more of a
> > bug with the daemon, but I wasn't sure who to report *that* to.
>
> TO help isolate whether it is an Emacs problem,
> can you try something like seeing if X programs work within M-x shell?
>
> Stephen
>

	[[alternative HTML version deleted]]

