Replace single backslash in R

One quite universal solution is

gsub("\\\\", "", str)

Thanks to the comment above.

Leave a Comment