[Rd] R CMD check --use-valgrind doesn't run valgrind on tests

2009-08-16 Thread Charles Geyer
R CMD check --use-valgrind used to run valgrind on the tests in the tests directory of the package. But it seems to have stopped. R-2.9.1 doesn't -- at least on my box -- and neither does R-2.10.0 (devel). I am not sure when this stopped. I think 2.8.x did this. The only old R I have around is

Re: [Rd] eurodist example dataset is malformed

2009-08-16 Thread Jari Oksanen
Justin, I suggest you try to remove your malformed eurodist and use the one in R. The svn logs show no changes in eurodist since 2005 when 'r' was added to 'Gibralta' (it still has all the wrong distances which perhaps go back to the poor quality of Cambridge Encyclopaedia). I also installed R 2.9

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
On 8/16/09, Ted Harding wrote: > > Oh, I had a slightly different H0 in mind. In the given example, > > cor.test(..., met="kendall") would test "H0: x and y are independent", > > but cor.test(..., met="pearson") would test: "H0: x and y are not > > correlated (or `are linearly independent')" .

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Ted Harding
On 16-Aug-09 14:06:18, Liviu Andronic wrote: > Hello, > On 8/16/09, Ted Harding wrote: >> I don't know about *compelling* reasons! But (as a general rule) >> if the Alternative Hyptohesis is stated, then the Null Hypothesis >> is simply its negation. So, in your example, you can infer >> >> H0

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
Hello, On 8/16/09, Ted Harding wrote: > I don't know about *compelling* reasons! But (as a general rule) > if the Alternative Hyptohesis is stated, then the Null Hypothesis > is simply its negation. So, in your example, you can infer > > H0: true tau equals 0 > Ha: true tau is not equal to

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Ted Harding
On 16-Aug-09 10:38:40, Liviu Andronic wrote: > Dear R developers, > Currently many (all?) test functions in R describe the alternative > hypothesis, but not the the null hypothesis being tested. For example, > cor.test: >> require(boot) >> data(mtcars) >> with(mtcars, cor.test(mpg, wt, met="kendall

[Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
Dear R developers, Currently many (all?) test functions in R describe the alternative hypothesis, but not the the null hypothesis being tested. For example, cor.test: > require(boot) > data(mtcars) > with(mtcars, cor.test(mpg, wt, met="kendall")) Kendall's rank correlation tau data: mpg