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:
>
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
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
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
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
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
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
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
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.
>>
>>
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.
--
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
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 --
___
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",
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
&
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
,
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 --
__
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
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=
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]&
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
20 matches
Mail list logo