Entering edit mode
                    Qiang
        
    
        ▴
    
    80
        @qiang-9580
        Last seen 4.9 years ago
        
    Hi,
Is it possible to run bplapply in the background to computing nodes (by batchtools) instead of blocking the R session?
I saw a related discussion about running a parallel job with the future.batchtools package.
https://github.com/Bioconductor/BiocParallel/issues/64
This feature is what exactly I wished.
## submit job to nodes
f <- plan({ bplapply expr })
## check finshed or not
resolved(f)
## collect the results
v <- value(f)
Thanks, Qiang

Works perfectly. Thanks!