add the r file