Description Usage Arguments Details Value
This can be useful if the task risks failure and you don't want to restart from scratch, or if you want to be able to stop a long task midway through.
1 2 |
f |
The function you want to call. |
args |
List of arguments passed to f. Each argument can be a list or vector. |
batch_size |
Size of the batches. |
out_folder |
Folder where to store the intermediate results (string). |
file_prefix |
Prefix for the intermediate result files (string). |
.combine |
Function used to combine the results. |
verbose |
Print progress (boolean). |
Given a function and a list of argument vectors, split the argument vectors into batches of fixed size, then call the function with its arguments, saving the results to disk at the end of each batch.
The final aggregate result of the operation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.