Displaying 1 result from an estimated 1 matches for "xaxb".
Did you mean:
xab
2005 Jun 27
2
How to convert "c:\a\b" to "c:/a/b"?
...ing
"c:\a\b" to "c:/a/b"? I tried the following:
> gsub("\\\\", "/", "c:\a\b")
[1] "c:\a\b"
Since this didn't work, I eliminated the replacement as a contributor
as follows:
> gsub("X", "/", "c:XaXb")
[1] "c:/a/b"
The following seems to illustrate the problem:
strsplit("c:\a\b", "")
[[1]]
[1] "c" ":" "\a" "\b"
How can one automate this?
Thanks,
spencer graves
--
Spencer Graves, PhD
Senior Developmen...