You can install the stable version on CRAN:
If you prefer to download the latest version, instead run the following after installing devtools:
itertools2 R package is licensed under the MIT
License. However, this package depends on the iterators R
which is licensed under the Apache License, Version
2.0. Both packages are freely
available for commercial and non-commerical usage. Please consult the licensing
terms for more details.