[R] \ escape sequence and windows path

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed May 21 15:25:01 CEST 2014


I tend to view this as enforced training in string escaping.

One option i have not seen mentioned is the file.choose function, which is GUI but a little tedious for deep directories.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On May 21, 2014 5:54:22 AM PDT, Knut Krueger <rh at knut-krueger.de> wrote:
>Am 20.05.2014 19:00, schrieb David L Carlson:
>> Now I understand. Not really a solution, but you can instruct
>students to use only forward slashes in their paths since R will
>convert to backslash on Windows systems automatically. After a couple
>of broken commands, they should get the hang of it.
>>
>> David C
>this was the first idea, but it seems not the easiest way ...
>
>Knut
>
>______________________________________________
>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