Windows copies path with backslash \\, which R does not accept. So, I wanted to write a function which would convert \\ to /. For exam
\\
/
chartr0 <- function(foo) chartr('\\','/',foo) chartr0('E:\\RStuff\\test.r')
You cannot write E:\Rxxxx, because R believes R is escaped.