coreApply: Apply a function (optionally in parallel) to a list

View source: R/multicore.R

coreApplyR Documentation

Apply a function (optionally in parallel) to a list

Description

Apply a function over data.frames assigned to a core. If on a Unix system (Linux or Mac), the function will be applied in parallel. If using a Windows system, the function will not be applied in parallel

Usage

coreApply(X, FUN, check.cores = FALSE)

Arguments

X

A list of data.frames over which to apply a function. Must inherit class core.list from the assign_cores function.

FUN

A function.

check.cores

Logical. Should the number of requested cores (determined as the length of list X) be compared against the number of available cores?


neyhartj/neyhart documentation built on Jan. 17, 2024, 11:13 a.m.