Re: [Rd] R-devel (r81196) hanging at dchisq(large) (PR#13309)

2021-11-16 Thread Avraham Adler
On Tue, Nov 16, 2021 at 10:42 PM Kevin Ushey wrote: > > Do you see this same hang in a build of R with debug symbols? Can you > try running R with GDB, or even WinDbg or another debugger, to see > what the call stack looks like when the hang occurs? Does the hang > depend on the number of threads

Re: [Rd] Inconsistent is.list results on 'by' objects

2021-11-16 Thread Kevin Ushey
You can see this a bit more clearly with e.g. > storage.mode(byy) [1] "list" > storage.mode(byy.empty) [1] "logical" So even though both objects have S3 class "by", they have a different underlying internal storage mode (as simplifying the result of 'by' has given you a 0-length logical, instead

Re: [Rd] R-devel (r81196) hanging at dchisq(large) (PR#13309)

2021-11-16 Thread Kevin Ushey
Do you see this same hang in a build of R with debug symbols? Can you try running R with GDB, or even WinDbg or another debugger, to see what the call stack looks like when the hang occurs? Does the hang depend on the number of threads used by OpenBLAS? On the off chance it's relevant, I've seen h

[Rd] LOGNAME env var in the check code

2021-11-16 Thread Gábor Csárdi
While trying to reproduce a NOTE for * checking for new files in some other directories ... NOTE I noticed that the check code uses Sys.getenv("LOGNAME") to query the name of the current user. However on many systems this is not set, so this is the empty string, and then no NOTE is shown. (Only

Re: [Rd] Inconsistent is.list results on 'by' objects

2021-11-16 Thread Bill Dunlap
Try adding simplify=FALSE to the call to by(). -Bill On Tue, Nov 16, 2021 at 4:04 AM Ofek Shilon wrote: > Take this toy code: > df <- data.frame(a=seq(10), b=rep(1:2, 5)) > df.empty <- subset(df, a>10) > byy <- by(data=df, INDICES=df$b, FUN=function(x) x[1,]) > byy.empty <- by

Re: [Rd] R-devel (r81196) hanging at dchisq(large) (PR#13309)

2021-11-16 Thread Avraham Adler
On Tue, Nov 16, 2021 at 8:43 AM Martin Maechler wrote: > > > Avraham Adler > > on Tue, 16 Nov 2021 02:35:56 + writes: > > > I am building r-devel on Windows 10 64bit using Jeroen's mingw system, > > and I am finding that my make check-devel hangs on the above issue. > >

[Rd] Inconsistent is.list results on 'by' objects

2021-11-16 Thread Ofek Shilon
Take this toy code: df <- data.frame(a=seq(10), b=rep(1:2, 5)) df.empty <- subset(df, a>10) byy <- by(data=df, INDICES=df$b, FUN=function(x) x[1,]) byy.empty <- by(data=df.empty, INDICES=df.empty$b, FUN=function(x) x[1,]) class(byy) # "by" class(byy.empty) # "by" is.list(b

Re: [Rd] R-devel (r81196) hanging at dchisq(large) (PR#13309)

2021-11-16 Thread Martin Maechler
> Avraham Adler > on Tue, 16 Nov 2021 02:35:56 + writes: > I am building r-devel on Windows 10 64bit using Jeroen's mingw system, > and I am finding that my make check-devel hangs on the above issue. > Everything is vanila except that I am using OpenBLAS 0.3.18. I have