Fix the R problem