How to make inner for loop only pass specific rows/elements

Can't test without a completereprex including data(see the FAQ). But why not just

tab_results <- head(rbind(tab_results,temp_results),6)