par_lapply: Parallelise Lapply

View source: R/parallel.R

par_lapplyR Documentation

Parallelise Lapply

Description

Simple wrapper around lapply and parallel::clusterApplyLB to abstract away the logic of deciding which one to use

Usage

par_lapply(cl, fun, x, ...)

Arguments

cl

Cluster created by parallel::makeCluster() or NULL

fun

Function to be run

x

object to be looped over

...

extra arguements passed to fun


rbmi documentation built on Oct. 16, 2024, 5:09 p.m.