The function is a wrapper to lapply and parLapply.

loop(..., parallel)

Arguments

...

aaditional arguments passed on to lapply or parLapply.

parallel

logical. Is parLapply used?