Full_Name: Thomas Stabla Version: 1.8.1 OS: Linux, XP Submission from: (NULL) (80.136.67.200) qchisq(1, df = 1, ncp = 0) seems to hang for me. I tried R 1.7.1, R 1.8.1 and R-Devel 1.9.0 under Linux (suse 8.0) and R 1.8.1 under XP
>>>>> "ThomasSt" == statho3 <statho3@web.de> >>>>> on Wed, 7 Jan 2004 21:45:40 +0100 (CET) writes:ThomasSt> Full_Name: Thomas Stabla Version: 1.8.1 OS: Linux, ThomasSt> XP Submission from: (NULL) (80.136.67.200) ThomasSt> qchisq(1, df = 1, ncp = 0) seems to hang for me. problem confirmed; already for qchisq(1 - 1e-7, df = 1, ncp = 0) Looking at the source code, the problem is "obvious". The analogon on the tail (that hangs) is qchisq(1e-8, df = 1, ncp = 0, lower.tail = FALSE) ThomasSt> I tried R 1.7.1, R 1.8.1 and R-Devel 1.9.0 under ThomasSt> Linux (suse 8.0) and R 1.8.1 under XP
>>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch> >>>>> on Thu, 8 Jan 2004 14:09:29 +0100 (CET) writes:>>>>> "ThomasSt" == statho3 <statho3@web.de> >>>>> on Wed, 7 Jan 2004 21:45:40 +0100 (CET) writes:ThomasSt> Full_Name: Thomas Stabla Version: 1.8.1 OS: Linux, ThomasSt> XP Submission from: (NULL) (80.136.67.200) ThomasSt> qchisq(1, df = 1, ncp = 0) seems to hang for me. MM> problem confirmed; already for qchisq(1 - 1e-7, df = 1, MM> ncp = 0) MM> Looking at the source code, the problem is "obvious". MM> The analogon on the tail (that hangs) is MM> qchisq(1e-8, df = 1, ncp = 0, lower.tail = FALSE) A patch for these has now been committed, both for R-patched (1.8.2 never to be) and R-devel (1.9.0 to be). Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/