Closed ray-najjar closed 5 years ago
Fixed this by adding a switch to this so that on Windows, only one thread/core is used
if (identical(.Platform$OS.type, 'windows')) {
list_of_DFs = lapply(files_to_process, function(files_to_process){
file.decomp_augmentation.wrapper(files_to_process, data_path_out, param, pupil_col, debug = FALSE)
})
} else {
list_of_DFs = mclapply(files_to_process, function(files_to_process){
file.decomp_augmentation.wrapper(files_to_process, data_path_out, param, pupil_col, debug = FALSE)
} , mc.cores = param[['no_of_cores_to_use']])
}
when calling