-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Is it possible to disable capturing of stdout? Specifically, is there an option/argument I can pass such that the following output does not appear:
> library(BiocParallel)
> y <- bplapply(1:2, print, BPPARAM = BiocParallel::DoparParam())
[1] 1
[1] 2
?
I'm aware of capture.output()
etc, but I want to prevent it from being captured in the first place.
I understand that .bpworker_EXEC()
takes argument sink.sout
;
Lines 297 to 298 in 9e2db5d
.bpworker_EXEC <- | |
function(msg, sink.sout = TRUE) |
but it looks like DoparParam does not allow me to pass that argument:
BiocParallel/R/DoparParam-class.R
Line 99 in 9e2db5d
value <- .bpworker_EXEC(task) |
In contrast, it looks like SerialParam supports it:
BiocParallel/R/SerialParam-class.R
Line 150 in 9e2db5d
value <- .bpworker_EXEC(msg, bplog(backend$BPPARAM)) |
If not supported right now, would you consider to add way to disable it?
Metadata
Metadata
Assignees
Labels
No labels