Skip to content
Prev 156912 / 398506 Next

How to convert backslash to slash?

Except it's a bit tricker because:

s <- "C:\foo\bar"
print(s)

You'd need to work with

encodeString( "C:\foo\bar")

but that won't work in general:

"c:\xjobs"
"c:\"
"c:\help"

Hadley
On Tue, Sep 23, 2008 at 3:00 PM, Shengqiao Li <shli at stat.wvu.edu> wrote: