Re: [Rd] Error in close.connection(p) : ignoring SIGPIPE signal

2019-12-05 Thread Andreas Kersting
Hi Benjamin, you cannot pipe to echo, since it does not read from stdin. echo just echos is first arg, i.e. echo /dev/stdin > /dev/null will echo the string "/dev/stdin"to /dev/stdout, which is redirected to /dev/null. Try p <- pipe("cat > /dev/null", open = "w") instead. Regards, Andreas

[Rd] Error in close.connection(p) : ignoring SIGPIPE signal

2019-12-05 Thread Benjamin Tyner
Not sure if this is a bug, so posting here first. If I run:    cnt <- 0L    while (TRUE) {        cnt <- cnt + 1L        p <- pipe("echo /dev/stdin > /dev/null", open = "w")        writeLines("foobar", p)        tryCatch(close(p), error = function(e) { print(cnt); stop(e)})    } then once cnt ge

Re: [Rd] Maybe bug? Using non-integer frequencies in stats::ts

2019-12-05 Thread Duncan Murdoch
On 05/12/2019 11:00 a.m., Johann R. Kleinbub wrote: It's been three months without an answer, is it ok to thread bump? Would someone provide a pointer? I agree it's a bug, and agree with your analysis. You should report it on bugs.r-project.org. (If you don't have an account there, let us k

Re: [Rd] Maybe bug? Using non-integer frequencies in stats::ts

2019-12-05 Thread Johann R. Kleinbub
It's been three months without an answer, is it ok to thread bump? Would someone provide a pointer? Thank you for your consideration, Johann On Mon, 16 Sep 2019 at 15:53, Johann R. Kleinbub wrote: > > I am developing a package to analyse physiological time-series and I thought that the most rel

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

2019-12-05 Thread Andreas Kersting
Hi all, With the help of Tomas, I was able to track the issue down: Prior to R v3.6.0 the parallel package passes an uninitialized variable as the file descriptor argument to the close system call. In my particular R session this uninitialized variable (reproducibly) was holding the value 7,