patch branch, use original from https://github.com/ded/R2/ and not this branch