Good day,

My question is: Does the lapply function guarantee a particular sequence in
which elements are mapped? And, are we guaranteed that lapply will always be
sequential (i.e. never map elements in parallel) ?

The reason I ask is if I use lapply with the mapping function set to
something that has side-effects that need to be executed in a particular
sequence.

If this is not possible, is there an alternate method other than using a for
loop?

-- 
Dean Marks

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to