Re: [Rd] pf hangs with infinite arguments (PR#8110)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 31 Aug 2005 - 06:23:10 GMT

Which x? Not for 1, 10, Inf for example.

I did manage to make pf(Inf, 5, Inf) hang, but not under R-patched or R-devel. It seems this is already fixed (please see the reporting conditions in the FAQ or in the posting guide).

pf(Inf, n1, Inf) is the same code as pchisq(Inf, n1) and pgamma(Inf, n1/2) The latter seems to be the same as PR#8001, as in the NEWS item

     o pgamma(Inf, 1.1) did not terminate (PR#8001).

Please reopen this if you can reproduce it in R-devel (soon to become 2.2.0) or R-patched.

On Wed, 31 Aug 2005 Rob.Hyndman@buseco.monash.edu.au wrote:

> Full_Name: Rob Hyndman
> Version: 2.1.1
> OS: Windows
> Submission from: (NULL) (202.7.176.132)
>
>
> pf(Inf,x,Inf) causes R to hang up for any value of x.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Aug 31 16:31:17 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:27:46 GMT