>
>     > Why would one ever *add* a final unneeded path separator,
>     > unless one wanted it?
>

Good question, but it is common for Windows installer programs to add a
terminal backslash to PATH entries.  E.g., on my Windows laptop I get

> grep(value=TRUE, "\\\\$", strsplit(Sys.getenv("PATH"), ";")[[1]])
[1] "C:\\Python39\\Scripts\\"
[2] "C:\\Python39\\"
[3] "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\"
[4] "C:\\WINDOWS\\System32\\OpenSSH\\"
[5] "C:\\Program Files\\nodejs\\"
[6] "C:\\Program Files\\Pandoc\\"
[7] "C:\\Program Files\\MiKTeX\\miktex\\bin\\x64\\"
[8] "C:\\Program Files\\PuTTY\\"

I did not add those entries by hand; all were added by installer programs.

-Bill

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to