path.batchProcessor: Create a Batch Processor

Description Usage Arguments Value

View source: R/batchProcessor.R

Description

Create a batch processor function for path.batchApply by mapping a function processor of type function(path(s), dest) to a function function(root, path(s)) for a given basic destination directory dest and adding a suffix to a given set of paths.

Usage

1
path.batchProcessor(processor, dest, suffix = ".txt", skipExisting = FALSE)

Arguments

processor

the function(path(s), dest) to be applied

dest

the destination folder

suffix

the suffix

skipExisting

should computations for existing destination files be skipped? The return value for skipped computations is NULL.

Value

the batch processor function of type function(path(s), dest)


thomasWeise/utilizeR documentation built on May 30, 2019, 11:48 a.m.