Description Usage Arguments Examples
Errors won't break the loop. Instead the loop will return an ThreadError object and keep going.
1 2 3 |
x |
list to loop. Accept vector, list and data.frame(by row) |
FUN |
the function for mapping |
pre_fun |
prepare function to init all nodes |
varlist |
name string vector of objects to be exported to nodes: "a_variable" |
cores |
number of threads |
env |
env to store the cl object. defalut: globalenv() |
er |
an EasyRedis object. (eg: er = EasyRedis::ErInit()) |
do_clean |
if er != NULL and do_clean = T, then clean SnowFor information in Redis. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.