mclapply
(Dummy Non-Parallel) Version of Parallel 'lapply'

### Description

This function is provided for compatibility with open-source R: it just calls the non-parallel lapply.

### Usage

    mclapply(X, FUN, ..., mc.preschedule = TRUE, mc.set.seed = TRUE,
             mc.silent = FALSE, mc.cores = getOption("mc.cores", 2L),
             mc.cleanup = TRUE, mc.allow.recursive = TRUE)

### Arguments

X | any object. Usually a list or a vector. Missing values (NAs) are allowed if FUN accepts them.
FUN | a function to apply to the components of X, or a character string giving the name of the function.
... | other arguments to FUN, if any. They can be given with names.
mc.preschedule | This argument is ignored by Spotfire Enterprise Runtime for R.
mc.set.seed | This argument is ignored by Spotfire Enterprise Runtime for R.
mc.silent | This argument is ignored by Spotfire Enterprise Runtime for R.
mc.cores | an integer value. This argument is ignored by Spotfire Enterprise Runtime for R, except that an error is generated if it is less than 1.
mc.cleanup | This argument is ignored by Spotfire Enterprise Runtime for R.
mc.allow.recursive | This argument is ignored by Spotfire Enterprise Runtime for R.

### Details

Open-source R implements mclapply as a parallel version of lapply using forking on Unix/Linux.
To support existing code, Spotfire Enterprise Runtime for R defines this so it just calls lapply (non-parallel).
Value
returns a list like X (the same length and names), where each component of the list is replaced by the result of executing FUN on that component.
Differences between Spotfire Enterprise Runtime for R and Open-source R
Spotfire Enterprise Runtime for R defines mclapply for compatibility with open-source R, but this function doesn't process list elements in separate parallel processes.
See Also
lapply, mcparallel, pvec.
Examples

    x <- list(a = 1:10000, beta = exp(-300:300), logic = c(TRUE,FALSE,FALSE,TRUE))
    lapply(x, mean)
    mclapply(x, mean)

Package parallel version 6.1.5-18
Package Index