[Rd] file.exists does not like path names ending in /

Kirill Müller kirill.mueller at ivt.baug.ethz.ch
Fri Jan 17 20:01:28 CET 2014


On 01/17/2014 07:35 PM, William Dunlap wrote:
>> I think that ignoring a terminal slash/backslash on Windows would do no
>> >harm:
> Windows makes a distinction between "C:" and "C:/": the former is
> not a file (or directory) and the latter is.
But, according to the documentation, neither would be currently detected 
by file.exists, while the latter is a directory, as you said, and should 
be detected as such.


-Kirill



More information about the R-devel mailing list