Does anyone know if the following code can be made to run in "parallel"

I've seen you ask this question multiple times before. I believe my original answer to you addressed this, as (at least in terms of your first post) there is no need for a loop. You should be able to use data.table which runs parallel by default:

1 Like