Use newTFGen from tf-random package.