mclapply.windows: Parallel processing for windows

mclapply.windowsR Documentation

Parallel processing for windows

Description

mclapply version that works on windows

Usage

mclapply.windows(X, FUN, ..., mc.cores)

Arguments

X

a vector (atomic or list) or an expressions vector. Other objects (including classed objects) will be coerced by as.list.

FUN

the function to be applied to (mclapply) each element of X.

...

For mclapply, optional named arguments to FUN.

mc.cores

integer, number of cores to be used. Could be overruled if number of items in list is lower.

Details

This is a workaround to allow parallel processing in windows since parallel package only works with linux distributions. Source: https://www.r-bloggers.com/2014/07/implementing-mclapply-on-windows-a-primer-on-embarrassingly-parallel-computation-on-multicore-systems-with-r/

Value

list


mcanigueral/evsim documentation built on April 5, 2025, 3:05 a.m.