Description Usage Arguments Details Examples

Parallel versions of `apply`

and related functions.

1 2 3 4 5 6 |

`cl` |
cluster object |

`fun` |
function or character string naming a function |

`X` |
array to be used |

`x` |
matrix to be used |

`FUN` |
function or character string naming a function |

`MARGIN` |
vector specifying the dimensions to use. |

`simplify` |
logical; see |

`USE.NAMES` |
logical; see |

`...` |
additional arguments to pass to standard function |

`A` |
matrix |

`B` |
matrix |

`parLapply`

, `parSapply`

, and `parApply`

are parallel
versions of `lapply`

, `sapply`

, and `apply`

.

`parRapply`

and `parCapply`

are parallel row and column
`apply`

functions for a matrix `x`

; they may be slightly
more efficient than `parApply`

.

`parMM`

is a very simple(minded) parallel matrix multiply;
it is intended as an illustration.

For more details see https://stat.uiowa.edu/~luke/R/cluster/cluster.html.

1 2 3 4 5 | ```
## Not run:
cl <- makeSOCKcluster(c("localhost","localhost"))
parSapply(cl, 1:20, get("+"), 3)
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.