On Wed, 7 Jan 2004 [EMAIL PROTECTED] wrote:

> open. I don't know too much about MacOS X, but having the DISPLAY
> variable set without having an X11 server surely means asking for
> trouble on Linux, and I guess MacOS X is not different ...
>

Yes, except there is no excuse for doing this under Linux and there are
good reasons for doing it on OS X.  Under Linux, if you are running X then
all your terminals were probably started after the X server, and they are
usually children of the X root window.  Under OS X the terminals are
usually started independently of X11 and may have been running before the
X server was started.  I don't know any automatic way to have DISPLAY set
correctly when the server is running and unset when it isn't.

The result is that you either need to have DISPLAY set in .tcshrc or
equivalent, or remember to set it when needed.


        -thomas

Thomas Lumley                   Assoc. Professor, Biostatistics
[EMAIL PROTECTED]       University of Washington, Seattle

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to