From kirill.mueller at ivt.baug.ethz.ch  Fri Jan 17 20:01:28 2014
From: kirill.mueller at ivt.baug.ethz.ch (=?ISO-8859-1?Q?Kirill_M=FCller?=)
Date: Fri, 17 Jan 2014 20:01:28 +0100
Subject: [Rd] file.exists does not like path names ending in /
In-Reply-To: <E66794E69CFDE04D9A70842786030B933FA2242F@PA-MBX01.na.tibco.com>
References: <CAP01uRmStfL2Kd0AK0KGGkdeUY_Qbde885AfSDy8VNDHbras7g@mail.gmail.com>	<21209.4385.976759.215210@stat.math.ethz.ch>	<CAP01uRmv3VmecKQMtyoAQM_yifKXcKtw1D66djbJ459fxtQRGw@mail.gmail.com>
	<52D96795.8040604@ivt.baug.ethz.ch>
	<E66794E69CFDE04D9A70842786030B933FA2242F@PA-MBX01.na.tibco.com>
Message-ID: <52D97E08.5050705@ivt.baug.ethz.ch>

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



[Rd] file.exists does not like path names ending in /
=?ISO-8859-1?Q?Kirill_M=FCller?=