On computing the lattice rule criterion R