| mclapply2 | R Documentation | 
.. content for (no empty lines) ..
mclapply2(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,
  mc.progress = is.na(Sys.getenv()["RSTUDIO"]), mc.style = 3)
| 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 | 
| ... | optional arguments to ‘FUN’ | 
| mc.preschedule | see mclapply | 
| mc.set.seed | see mclapply | 
| mc.silent | see mclapply | 
| mc.cores | see mclapply | 
| mc.cleanup | see mclapply | 
| mc.allow.recursive | see mclapply | 
| mc.progress | show a progress bar (by default: TRUE unless we think that we are in an Rstudio session) | 
| mc.style | style of progress bar (see txtProgressBar) | 
.. content for ..
A list of the same length as X and named by X.
wannymahoots
Florian Klinglmueller
x <- mclapply2(1:1000, function(i, y) Sys.sleep(0.01)) x <- mclapply2(1:3, function(i, y) Sys.sleep(1), mc.cores=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.