add .r file