[Rd] dchisq hangs in infinite loop (PR#13309)

josef.leydold at wu-wien.ac.at josef.leydold at wu-wien.ac.at
Thu Nov 20 19:15:18 CET 2008


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


Hi,

the command

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

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

Josef

p.s. the problem also occurs in version 2.7.2

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



More information about the R-devel mailing list