Dear R-helpers:

Hours ago, I asked how to replace a single forward slash with a double
backward slash and recieved great help. Thanks again for all the repliers.

In the meantime, I wonder how to replace a single backward slash with a
double backward slash?

e.g., I want change "c:\test" into "c:\\test"

I tried the following but does not work.
gsub("\\\","\\\\","c:\test")

Can someone help?

Thanks a lot in advance.

-Sean

	[[alternative HTML version deleted]]


