cl = parallel::makeCluster(ncores)
parallel::clusterExport(cl=cl, varlist=c("TODO:", "what", "to", "export?"), envir=environment())
#TODO: be careful of writing to a new temp file, then flush initial one, then re-use it...
cl = parallel::makeCluster(ncores)
parallel::clusterExport(cl=cl, varlist=c("TODO:", "what", "to", "export?"), envir=environment())
#TODO: be careful of writing to a new temp file, then flush initial one, then re-use it...