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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 31 08:23:10 CEST 2005


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 at 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 at 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



More information about the R-devel mailing list