Martin Morgan
Martin Morgan
This script ``` library(batchtools) res
Some `makeCluster*` operations have side effects, e.g., opening connections ``` > nrow(showConnections()) [1] 0 > cl = makeClusterFunctionsSocket(2) > nrow(showConnections()) [1] 2 ``` There is no way to 'undo' (e.g.,...
This repo https://github.com/mtmorgan/outputdir has an Rnw vignette. The vignette has a main document and a child document. The code chunk to include the child document includes fig.path that references `opts_chunk$get("output.dir")`....
`Accept` headers can contain multiple types, e.g., `"application/json, text/plain"`, but `accept()` previously produced a warning (because `if (substr(type, 1, 1) == ".")` is non-scalar) on vector arguments with length >...
MulticoreParam() is appealing for interactive use, but problematic in package use, as discussed eg https://github.com/drisso/zinbwave/issues/38#issuecomment-655587766. Update default strategy to use SnowParam() as the default.
(from @vjcitn) The BiocParallel vignette mentions foreach support and DoParParam ... but for package authors the steps of makeCluster, registerDo* and stopCluster the vignette should indicate what a *package author*...
2.5x longer when mgcv is loaded. ``` > library(BiocParallel) > system.time(bplapply(1:1e2 , function(...) {}, BPPARAM = MulticoreParam(workers = 2, tasks=1e2))) user system elapsed 0.089 0.008 5.832 > library(mgcv) Loading required...
Systematically integrate function to check on non-local use into bplapply and friends
`bpexport` to make local variables available to remote computation. From the [mailing list](https://stat.ethz.ch/pipermail/bioc-devel/2013-November/004868.html)