if (FALSE) {
#If it is necessary to indicate any existing configuration key, do it through:
#bdpar.Options$set(key, value)
#If the key is not initialized, do it through:
#bdpar.Options$add(key, value)
#If it is neccesary parallelize, do it through:
#bdpar.Options$set("numCores", numCores)
#If it is necessary to change the behavior of the log, do it through:
#bdpar.Options$configureLog(console = TRUE, threshold = "INFO", file = NULL)
#Folder with the files to preprocess
path <- system.file("example",
package = "bdpar")
#Object which decides how creates the instances
extractors <- ExtractorFactory$new()
#Object which indicates the pipes' flow
pipeline <- DefaultPipeline$new()
#Starting file preprocessing...
runPipeline(path = path,
extractors = extractors,
pipeline = pipeline,
cache = FALSE,
verbose = FALSE,
summary = TRUE)
}
Run the code above in your browser using DataLab