Re: [Rd] parallel PSOCK connection latency is greater on Linux?

2020-11-04 Thread Iñaki Ucar
Please, check a tcpdump session on localhost while running the following script: library(parallel) library(tictoc) cl <- makeCluster(1) Sys.sleep(1) for (i in 1:10) { tic() x <- clusterEvalQ(cl, iris) toc() } The initialization phase comprises 7 packets. Then, the 1-second sleep will help

Re: [Rd] sprintf, check number of parameters

2020-11-04 Thread Tomas Kalibera
Dear Matthias, thanks for the suggestion, R-devel now warns on unused arguments by format (both numbered and un-numbered). It seems that the new warning is useful, often it finds cases when arguments were accidentally passed to sprintf but had been meant for a different function. R allows co

Re: [Rd] sprintf, check number of parameters

2020-11-04 Thread matthias-gondan
Dear Tomas,Thank you.Regarding the "unnumbered" arguments, i.e. sprintf('%f %f', 1, 2, 3). This was the case I wanted to report, here a warning can be very useful.Regarding the "numbered" arguments, that is, sprintf('%$1f %$3f', 1, 2, 3). Here, omission of an argument might be intended, for exa

Re: [Rd] sprintf, check number of parameters

2020-11-04 Thread Tomas Kalibera
Dear Matthias, On 11/4/20 4:01 PM, matthias-gondan wrote: > Dear Tomas, > > Thank you. > > Regarding the "unnumbered" arguments, i.e. sprintf('%f %f', 1, 2, 3). > This was the case I wanted to report, here a warning can be very useful. > > Regarding the "numbered" arguments, that is, sprintf('%

Re: [Rd] sprintf, check number of parameters

2020-11-04 Thread matthias-gondan
Now that you ask, no real use case comes to my mind in which an argument is skipped in one language but not another. Thank you for implementing the warning, I guess it will be useful on the long run.Best wishesMatthias Ursprüngliche Nachricht Von: Tomas Kalibera Datum: 04.11.20

[Rd] (no subject)

2020-11-04 Thread Bill Dunlap
Hi All, I am no longer with TIBCO and hope to be able to contribute more directly to R now. It will take a little while to set up a build environment and to start working on some bugzilla issues. -Bill Dunlap williamwdun...@gmail.com [[alternative HTML version deleted]] ___