run a for loop in parallel in R run a for loop in parallel in R r r