Iterator construct for R