I realise there's another similar question asked 3 years ago at Are there raw strings in R for regular expressions?, but wonder if there is now a new answer to the question.
So, my question is more general about writing raw strings, not just for regex but also for windows paths and other strings that can have backlash present.