iter_deepcopy {itertools2}R Documentation

Performs a deep copy of an iterator

Description

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

Usage

iter_deepcopy(iterator)

Arguments

iterator

an iterator object that inherits from class 'iter'

Value

a new iterator with its own state


[Package itertools2 version 0.1.1 Index]