iter_deepcopy: Performs a deep copy of an iterator

Description Usage Arguments Value

View source: R/utilities.r

Description

This function is useful when an iterator needs to be copied with a new state environment.

Usage

1
iter_deepcopy(iterator)

Arguments

iterator

an iterator object that inherits from class 'iter'

Value

a new iterator with its own state


itertools2 documentation built on May 30, 2017, 7:17 a.m.