Re: [Rd] Re: [R] p-value > 1 in fisher.test()

2005-06-05 Thread Ted Harding
On 04-Jun-05 Martin Maechler wrote: >>>>>> "UweL" == Uwe Ligges <[EMAIL PROTECTED]> >>>>>> on Sat, 04 Jun 2005 11:43:34 +0200 writes: > > UweL> (Ted Harding) wrote: > >> On 03-Jun-05 Ted Harding wrote: >

RE: [Rd] 1/tan(-0) != 1/tan(0)

2005-06-01 Thread Ted Harding
0 0 > sign(1/tan(c(-0,0))) [1] -1 1 so sign() is not going to tell us. Is there a function which can? Short of wrting one's own: sign0 <- function(x){ if(abs(x)>0) stop("For this test x must be +0 or -0") return(sign(1/tan(x))) } ;) Best wi

RE: [Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread Ted Harding
On 31-May-05 Ted Harding wrote: > [...] > But it is always safe (and often prudent) to force precedence > with parentheses -- at least you yourself are then absolutely > sure of exactly what is going to happen, which is the really > important thing (and this is Rule 2, which t

RE: [Rd] minus: operator and sign (PR#7908)

2005-05-31 Thread Ted Harding
st you yourself are then absolutely sure of exactly what is going to happen, which is the really important thing (and this is Rule 2, which takes precedence over Rule 1). So if you want to force "-2^2" and similar to be the square of "-2" then do "(-2)^2". And it adds clar

Re: [Rd] Windows freezes plotting large line plots (PR#7856)

2005-05-12 Thread Ted Harding
s (i.e. conditional compilation), or will we all have to put up with it? Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 12-May-05

Re: [Rd] bug in modulus operator %% (PR#7852)

2005-05-11 Thread Ted Harding
the result of not using it, and then come to a decision as to which to use. A further example on the same lines is 1 %% (0.1) # [1] 1e-05 (Similar to Kjetil's first example), while ((1000*1) %% (1000*0.1))/1000 ## [1] -2.081668e-17 Any comments would be interesting! Best wishe

RE: [Rd] heads and tails

2005-05-01 Thread Ted Harding
de changes needed", it also needs a probably trivial switch of viewpoint from "n: size for the resulting object" to "n: " Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PRO

RE: Pacakge norm (was Re: [Rd] orphaning CRAN packages)

2005-04-09 Thread Ted Harding
On 09-Apr-05 Prof Brian Ripley wrote: > The known problems are in the file > > http://www.r-project.org/nocvs/R.check/r-devel/norm-00check.txt > > No showstoppers, so given the saga of Ted's connectivity, I would > suggest waiting for the release on April 18. > > There are no declared dependenci

Re: [Rd] orphaning CRAN packages

2005-04-09 Thread Ted Harding
On 09-Apr-05 Uwe Ligges wrote: > (Ted Harding) wrote: >> It would be serious if 'norm' were to lapse, since it is >> part of the 'norm+cat+mix+pan' family, and people using any >> of these are likely to have occasion to use the others. >> >>

Re: [Rd] orphaning CRAN packages

2005-04-09 Thread Ted Harding
e others. I'd offer to try to clean up 'norm' myself if only I were up-to-date on R itself (I'm waiting for 2.1.0 to come out, which I understand is scheduled to happen soon, yes?). Best wishes, Ted. --

Re: [Rd] new R package BRugs

2005-04-08 Thread Ted Harding
On 08-Apr-05 Uwe Ligges wrote: > OK, here we go (since we forgot to address the the Linux > folks' problems explicitly - apologies!). > [informative details snipped] Thanks Uwe! Very useful clarifiation! Best wishes, Ted. __ R-devel@stat.math.ethz.ch m

Re: [Rd] new R package BRugs

2005-04-08 Thread Ted Harding
their searches! Best wishes to all, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 08-Apr-05 Time: 14:16:00 -- XFMail -- ___

Re: [Rd] Re: Packages and Libraries (was: Re: lme4 "package" etc

2005-02-08 Thread Ted Harding
them, since calling one sort of thing by the name of another sort of thing necessarily creates confusion. But if not, then I'm inclined to feel that a bit of loose talk is acceptable (since then a reference to a "library" would be understood as a reference to a "package",

Re: [Rd] R 'postscript' plot - not a valid postscript (PR#7559)

2005-01-24 Thread Ted Harding
lead me to the problem and the > workaround was obvious. However, the hours of trying to debug were not > so > much fun. My script worked from within ess, but running in batch mode > in order to prduce a ps failed. I didn't have a clue what was causing > the &

RE: [Rd] Inaccuracy in seq() function (PR#7503)

2005-01-12 Thread Ted Harding
5)/100" gives the same result as the rounded result, and as your hand-forced version. This is why I prefer it! Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0

[Rd] R-2.0.2 soon?

2004-12-21 Thread Ted Harding
, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 21-Dec-04 Time: 11:17:04 -- XFMail -- __

Re: [Rd] Re: [R] case-insensitive ZIP

2004-11-02 Thread Ted Harding
in any case it looks as though 'pkgname' will come out right whatever follows the first "_." in the tar file name (so long as the file name is of the form pkgname_.*). Best wishes, Ted. E-Mail: (Ted

RE: [Rd] Unpredictable EPS->PDF rotation (PR#4460)

2003-10-08 Thread Ted Harding
On 08-Oct-03 [EMAIL PROTECTED] wrote: > When I create EPS files, they sometimes appear rotated in my LaTeX PDF > document and sometimes they don't. Two examples: > >## x1.eps is not rotated in LaTeX > x <- seq(-1, 1, length=100) > postscript("c:/x1.eps", height=3, width=4, >horizontal=

[Rd] Schafer's CAT for MI

2003-06-17 Thread Ted Harding
now needs some testing in the wild, so if anyone would like to have a copy of cat_0.0-1.tar.gz to try out (16062 bytes) please let me know and I will send it. Best wishes to all, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]&

Re: [Rd] RE: Approved

2003-06-03 Thread Ted Harding
On 02-Jun-03 Peter Dalgaard BSA wrote [to r-devel]: > "BELL David J" <[EMAIL PROTECTED]> writes: > >> No file attached?? > > Fairly well-known virus behaviour, but did you really get it from > r-devel? (check headers for stat.math.ethz.ch) There seem to be no instances of the actual virus-laden