Re: [Rd] error in parallel:::sendMaster

2019-11-28 Thread Tomas Kalibera
Hi Andreas, thank you very much, good job finding it was EBADF. Now the question is why the pipe has been closed prematurely; it could be accidentally by R (a race condition in the cleanup code in fork.c) or possibly by some other code running in the same process (maybe the R program itself or

Re: [Rd] error in parallel:::sendMaster

2019-11-28 Thread Andreas Kersting
Hi Tomas, I rebuild R (v3.5.2 for now, R-devel to follow) from the Debian package with MC_DEBUG defined and hopefully also with "-Wall -O0 -gdwarf-2 -g3", though I still have to verify this. Below is the output. I think it is a total of two mclapply invocations in this R session, the failing o

Re: [Rd] head.matrix can return 1000s of columns ..

2019-11-28 Thread Martin Maechler
> Gabriel Becker > on Sat, 2 Nov 2019 12:40:16 -0700 writes: [] In the mean time, Gabe had worked quite a bit and provided a patch proposal at R's bugzilla, PR#17652 , i.e., here https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17652 A few days ag

Re: [Rd] calls with comment attribute

2019-11-28 Thread Tomas Kalibera
Thanks for spotting this, I've removed the old code in deparse so that now the comment attribute is really not printed, as documented in ?comment. The removed code was needed at the time when comments were collected by the parser and stored in the comment attribute, but that is no longer the