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

2019-11-27 Thread Andreas Kersting
Hi Tomas, Thanks for your prompt reply and your offer to help. I might need to get back to this since I am not too experienced in debugging these kinds of issues. Anyway, I gave it a try and I think I have found the immediate cause: I installed the debug symbols (r-base-core-dbg), placed https

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

2019-11-27 Thread Tomas Kalibera
Hi Andreas, the error is reported when some child process cannot send results to the master process, which originates from an error returned by write() - when write() returns -1 or 0. The logic around the writing has not changed since R 3.5.2. It should not be related to the printing in the c

Re: [Rd] Troubles using numeric in s4 class union

2019-11-27 Thread Michael Lawrence via R-devel
I've been working on this and will hopefully get a fix checked in today. On Wed, Nov 27, 2019 at 3:53 AM Martin Maechler wrote: > > > Ezra Tucker > > on Mon, 11 Nov 2019 21:47:41 + writes: > > > Hi all, > > > > I came across an issue in using the Matrix package which made it that

Re: [Rd] Troubles using numeric in s4 class union

2019-11-27 Thread Martin Maechler
> Ezra Tucker > on Mon, 11 Nov 2019 21:47:41 + writes: > Hi all, > > I came across an issue in using the Matrix package which made it that I > could only subset Matrices using the numeric class, but could not using > integers. Steps to reproduce the problem: > > library(Matrix)

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

2019-11-27 Thread Andreas Kersting
Hi again, One important correction of my first message: I misinterpreted the output. Actually in that R session 2 input files were processed one after the other in a loop. The first (with 88 parts went fine). The second (with 85 parts) produced the sendMaster errors and failed. If (in a new ses

[Rd] error in parallel:::sendMaster

2019-11-27 Thread Andreas Kersting
Hi, I am facing a very weird problem with parallel::mclapply. I have a script which does some data wrangling on an input dataset in parallel and then writes the results to disk. I have been using this script daily for more than one year always on an EC2 instance launched from the same AMI (no u