I am working on some exploratory code in Windows and R will not let me source the file I'm working on. The full file path to my code I can't disclose, but the first two directories are "T:\Projects\...\prelim_analysis.R". When I hit ctrl+shift+enter to run the file I get the following error...
Error: '\P' is an unrecognized escape in character string starting ""T:\P"
Seems the directory my file is in is causing the issue. However, I am stuck with "T:\Projects" and cannot change directories. I have reached a point where I need to debug my code as I develop my functions, and I cannot debug without being able to source my code and run it over the console. Other posts in this vein seem to have issues sourcing() external files to their code and don't touch on the issue I'm experiencing. I've written code in other directories within "T:\Projects" before and have never experienced this issue.