I don't think this is possible with print_r but it wouldn't be too hard to write your own function to do this.
Ellaborate?, if I understand you correctly; you could try array_slice() and then do the print_r()....