Divide and recombine methods for R and RHIPE