[R] How to convert backslash to slash?

Gabor Grothendieck ggrothendieck at gmail.com
Tue Sep 23 21:59:48 CEST 2008


This was just posted today:

https://stat.ethz.ch/pipermail/r-help/2008-September/174696.html

On Tue, Sep 23, 2008 at 4:00 PM, Shengqiao Li <shli at stat.wvu.edu> wrote:
>
> How to use sub, gsub, etc. to replace "\" in a string to "/"?
>
> For example,convert "C:\foo\bar" to "C:/foo/bar".
>
> Thanks,
>
> Shengqiao Li
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list