multidplyr within a for loop- warning: closing unused connections

36 views Asked by At

I'm running a loop within loop that subsets a large, sparse dataset and calculates mean and median for each lab variable within a 2,3 and 5 year search window. I'm getting a message "warning: closing unused connections"- is it because multidplyr is unable to use other cores when it's inside a loop?

my code looks like this: enter image description here enter image description here

0

There are 0 answers