# Print each element
fwalk(1:3, print)
# Simulate writing files in parallel
# \donttest{
fwalk(1:3, function(i) {
cat(paste("Processing item", i, "\n"))
Sys.sleep(0.5)
}, ncores = 2, pb = TRUE)
# }
Run the code above in your browser using DataLab