R_Pigott: rice macro