You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
future_lapply() is silent for the multisession plan #171
which will have all the output of the workers to go the system's stdout/stderr. Note however that such output cannot be captured by the main/owner R session using e.g. capture.output() and sink(). That's why I call it a "hack".
I did not think about compatibility with capture.output(), but now that you mention it, it makes sense. I guess I should stop using that outfile hack for drake::make(..., parallelism = "parLapply").
Activity
HenrikBengtsson commentedon Oct 25, 2017
For why, see Issue #141. If it's enough with output after the future has resolved, then that might happen (Issue #67). See also #172.
A hack that I don't really recommend is to use:
which will have all the output of the workers to go the system's stdout/stderr. Note however that such output cannot be captured by the main/owner R session using e.g.
capture.output()andsink(). That's why I call it a "hack".wlandau-lilly commentedon Oct 25, 2017
I did not think about compatibility with
capture.output(), but now that you mention it, it makes sense. I guess I should stop using thatoutfilehack fordrake::make(..., parallelism = "parLapply").Stop using `outfile` in parLapply parallelism
wlandau-lilly commentedon Oct 25, 2017
From #141, I can see that this is not really
future's problem.