Re: [R] PSOCK cluster and renice

2018-02-11 Thread Henrik Bengtsson
As a follow up, future 1.7.0 was just released on CRAN allowing you specify 'renice' as expected. Example (skip 'dryrun = TRUE' for actually usage): > cl <- future::makeClusterPSOCK(2L, renice = 19, dryrun = TRUE) -- Manually

Re: [R] PSOCK cluster and renice

2017-12-03 Thread Andreas Leha
Hi Henrik, Thanks for the detailed in fast reply! My guess would be that the confusion comes from the different use of nice and renice. The workraund you provided work fine! Thanks a lot. Best, Andreas Henrik Bengtsson writes: > Looks like a bug to me due to

Re: [R] PSOCK cluster and renice

2017-12-03 Thread Henrik Bengtsson
Looks like a bug to me due to wrong assumptions about 'nice' arguments, but could be because a "non-standard" 'nice' is used. If we do: > trace(system, tracer = quote(print(command))) Tracing function "system" in package "base" we see that the system call used is: > cl <-

[R] PSOCK cluster and renice

2017-12-03 Thread Andreas Leha
Hi all, Is it possible to use the 'renice' option together with parallel clusters of type 'PSOCK'? The help page for parallel::makeCluster is not specific about which options are supported on which types and I am getting the following message when passing renice = 19 : > cl <-