[Rd] Random behavior of mclapply

2018-07-26 Thread Thibault Vatter
Hi, I wondered about the behavior described in the following stackoverflow question: https://stackoverflow.com/questions/20674538/mclapply-returns-null-randomly More specifically, I would like to know if you ever considered the suggestion made in the comments of the first answer, namely to someh

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread Gábor Csárdi
On Thu, Jul 26, 2018 at 2:47 PM wrote: [...] > Looks like this has to do with readline, which --interactive turns on. > If I use '--no-readline --interactive' (in that order) on Mac OS and > Linux I get no echo. Great! Makes sense. Thanks much. G. [...]

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread luke-tierney
On Thu, 26 Jul 2018, Gábor Csárdi wrote: On Thu, Jul 26, 2018 at 1:43 PM wrote: On Thu, 26 Jul 2018, Gábor Csárdi wrote: On Thu, Jul 26, 2018 at 12:25 PM Barry Rowlingson wrote: On Thu, Jul 26, 2018 at 12:22 AM, Gábor Csárdi wrote: I am trying to control a background R session, connect

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread Gábor Csárdi
On Thu, Jul 26, 2018 at 1:43 PM wrote: > > On Thu, 26 Jul 2018, Gábor Csárdi wrote: > > > On Thu, Jul 26, 2018 at 12:25 PM Barry Rowlingson > > wrote: > >> > >> On Thu, Jul 26, 2018 at 12:22 AM, Gábor Csárdi > >> wrote: > >>> I am trying to control a background R session, connected via a fifo /

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread luke-tierney
On Thu, 26 Jul 2018, Gábor Csárdi wrote: On Thu, Jul 26, 2018 at 12:25 PM Barry Rowlingson wrote: On Thu, Jul 26, 2018 at 12:22 AM, Gábor Csárdi wrote: I am trying to control a background R session, connected via a fifo / named pipe. Is the fifo significant here? If I read the same R cod

Re: [Rd] Suggestion for updating `p.adjust` with new method (BKY 2006)

2018-07-26 Thread Martin Maechler
> Xiaoqing Claire Rong-Mullins > on Mon, 23 Jul 2018 12:03:55 -0400 writes: > Dear R contributors, > I suggest adding a new method to `p.adjust` ("Adjust P-values for Multiple > Comparisons", > https://stat.ethz.ch/R-manual/R-devel/library/stats/html/p.adjust.html).

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread Gábor Csárdi
On Thu, Jul 26, 2018 at 12:25 PM Barry Rowlingson wrote: > > On Thu, Jul 26, 2018 at 12:22 AM, Gábor Csárdi wrote: > > I am trying to control a background R session, connected via a fifo / > > named pipe. > > Is the fifo significant here? If I read the same R code from a file > via `<` I get the

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread Barry Rowlingson
On Thu, Jul 26, 2018 at 12:22 AM, Gábor Csárdi wrote: > I am trying to control a background R session, connected via a fifo / > named pipe. Is the fifo significant here? If I read the same R code from a file via `<` I get the input echoed (R 3.4.4, Ubuntu). Barry __