From maechler at stat.math.ethz.ch  Fri Nov 21 11:20:07 2008
From: maechler at stat.math.ethz.ch (maechler at stat.math.ethz.ch)
Date: Fri, 21 Nov 2008 11:20:07 +0100 (CET)
Subject: [Rd] dchisq hangs in infinite loop (PR#13309)
Message-ID: <20081121102007.A60052834158@mail.pubhealth.ku.dk>

>>>>> "jl" == josef leydold <josef.leydold at wu-wien.ac.at>
>>>>>     on Thu, 20 Nov 2008 19:15:18 +0100 (CET) writes:

    jl> Full_Name: Josef Leyold
    jl> Version: 2.9.0  (2008-11-20 r46997)
    jl> OS: Linux
    jl> Submission from: (NULL) (137.208.56.12)


    jl> Hi,

    jl> the command

    jl> dchisq(x=Inf,df=10,ncp=1)

    jl> causes R to hang in an (almost?) infinite loop.
    jl> It also happens for x=1.e50. 

Indeed.  I will fix this shortly, for R 2.8.0 patched and
R-devel.

Thanks a lot, Josef, for the report!
Martin

    jl> Josef

    jl> p.s. the problem also occurs in version 2.7.2

    >> R.version
    jl> _                                                               
    jl> platform       x86_64-unknown-linux-gnu                                        
    jl> arch           x86_64                                                          
    jl> os             linux-gnu                                                       
    jl> system         x86_64, linux-gnu                                               
    jl> status         Under development (unstable)                                    
    jl> major          2                                                               
    jl> minor          9.0                                                             
    jl> year           2008                                                            
    jl> month          11                                                              
    jl> day            20                                                              
    jl> svn rev        46997                                                           
    jl> language       R                                                               
    jl> version.string R version 2.9.0 Under development (unstable) (2008-11-20 r46997)



[Rd] dchisq hangs in infinite loop (PR#13309)
maechler at stat.math.ethz.ch