How to escape backslashes in R string
[…] If I want to get a string containing 5 \ ,should i write 10 \ […] Yes, you should. To write a single \ in a string, you write it as “\\”. This is because the \ is a special character, reserved to escape the character that follows it. (Perhaps you recognize \n as … Read more