Hey are you an #RStats user on Windows? Have you ever been frustrated you can't copy and paste the path to files and folders into an R string without getting an error about escaped characters?
THE ANSWER:
Put the letter r right before the opening quote for the string to disable "character constants" and turn it into a "string literal". Like this
myPath = r"c:\MyDir"
See the letter r chilling there, OUTSIDE the quote? That's the magic trick.
@rstats