Modified R files