The generating hypothesis in the derived category of R-modules