Each batch serves 6 people, and there are 42 people coming to the party, so she needs to make 42 / 6 = <<42/6=7>>7 batches.
Each batch requires 4 avocados, so she will need 4 * 7 = <<4*7=28>>28 avocados.
#### 28