Re: [Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

2007-10-26 Thread p . dalgaard
Hin-Tak Leung wrote: > Peter Dalgaard wrote: >> [EMAIL PROTECTED] wrote: >>> Full_Name: Christian Brechbuehler >>> Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux >>> Submission from: (NULL) (24.61.47.236) >>> >>> > >>> Example (start R without DISPLAY from bash): >>> % DISPLAY=3D R >>> > x11("loc

Re: [Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

2007-10-26 Thread Peter Dalgaard
Hin-Tak Leung wrote: > Peter Dalgaard wrote: >> [EMAIL PROTECTED] wrote: >>> Full_Name: Christian Brechbuehler >>> Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux >>> Submission from: (NULL) (24.61.47.236) >>> >>> > >>> Example (start R without DISPLAY from bash): >>> % DISPLAY= R >>> > x11("local

[Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

2007-10-26 Thread hin-tak . leung
Peter Dalgaard wrote: > [EMAIL PROTECTED] wrote: >> Full_Name: Christian Brechbuehler >> Version: 2.4.1, 2.5.1, >> OS: Ubuntu GNU/Linux >> Submission from: (NULL) (24.61.47.236) >> >> >> Example (start R without DISPLAY from bash): >> % DISPLAY= R >> > x11("localhost:11.0")

[Rd] (PR#10379) Re: x11(....) kills R without DISPLAY

2007-10-26 Thread Hin-Tak Leung
Peter Dalgaard wrote: > [EMAIL PROTECTED] wrote: >> Full_Name: Christian Brechbuehler >> Version: 2.4.1, 2.5.1, >> OS: Ubuntu GNU/Linux >> Submission from: (NULL) (24.61.47.236) >> >> >> Example (start R without DISPLAY from bash): >> % DISPLAY= R >> > x11("localhost:11.0")

Re: [Rd] x11(....) kills R without DISPLAY (PR#10379)

2007-10-26 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Full_Name: Christian Brechbuehler > Version: 2.4.1, 2.5.1, > OS: Ubuntu GNU/Linux > Submission from: (NULL) (24.61.47.236) > > > Context: > 'X11' starts a graphics device driver on the display given by argument > 'display'. > > Problem: > If the environment variable DISP

[Rd] x11(....) kills R without DISPLAY (PR#10379)

2007-10-26 Thread brechbuehler
Full_Name: Christian Brechbuehler Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux Submission from: (NULL) (24.61.47.236) Context: 'X11' starts a graphics device driver on the display given by argument 'display'. Problem: If the environment variable DISPLAY is not set, the R process dies with exit s

Re: [Rd] Use of all/any

2007-10-26 Thread Bill Dunlap
On Fri, 26 Oct 2007, Bill Dunlap wrote: > In Splus I use >rapply(expr, classes="call", > f=function(x)if(isComparisonOfAnyOrAll(x))deparseText(x)) > to rattle down an an expression tree looking for this pattern. > However's R's rapply won't let me do that because > it insists its input be

Re: [Rd] Use of all/any

2007-10-26 Thread Bill Dunlap
On Fri, 26 Oct 2007, Martin Maechler wrote: > Apropos Bill Dunlap's note: Do newer versions of S-plus warn? > At least up to 6.2.2, I'm pretty sure no S version has warned > about > X <- c(0.1, pi) > all(X) > 0.5 Hi Martin, No, it doesn't warn. We had a user who ran into a bug in a

Re: [Rd] Use of all/any

2007-10-26 Thread Duncan Murdoch
On 10/26/2007 12:18 PM, Martin Maechler wrote: >> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> >> on Fri, 26 Oct 2007 08:16:03 +0100 (BST) writes: > > BDR> all/any coerce their arguments to logical (if > BDR> possible). I've added a warning in R-devel if coercion > BDR>

Re: [Rd] Use of all/any

2007-10-26 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Fri, 26 Oct 2007 08:16:03 +0100 (BST) writes: BDR> all/any coerce their arguments to logical (if BDR> possible). I've added a warning in R-devel if coercion BDR> is from something other than integer. BDR> This aros

Re: [Rd] PR#10371

2007-10-26 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Oops -- I should have tested it without libraries loaded :-) > > The conflict must be with the HH package. I tested the example again > using all the packages required by HH and do get the correct results, but > once the HH package is loaded, the TukeyHSD function retu

[Rd] PR#10371

2007-10-26 Thread clyde
Oops -- I should have tested it without libraries loaded :-) The conflict must be with the HH package. I tested the example again using all the packages required by HH and do get the correct results, but once the HH package is loaded, the TukeyHSD function returns "height" and the plot command

[Rd] Use of all/any

2007-10-26 Thread Prof Brian Ripley
all/any coerce their arguments to logical (if possible). I've added a warning in R-devel if coercion is from something other than integer. This arose because it is easy to make a slip and write all(X) > 0 rather than all(X > 0): thanks to Bill Dunlap for bringing that to my attention. However,