From ggrothendieck at gmail.com  Fri Jan 17 06:10:43 2014
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Fri, 17 Jan 2014 00:10:43 -0500
Subject: [Rd] file.exists does not like path names ending in /
Message-ID: <CAP01uRmStfL2Kd0AK0KGGkdeUY_Qbde885AfSDy8VNDHbras7g@mail.gmail.com>

If a path name ends in slash then file.exists says it does not exist.
I would have expected these to all return TRUE.

> file.exists("/Program Files")
[1] TRUE
> file.exists("/Program Files/")
[1] FALSE
> file.exists(normalizePath("/Program Files/"))
[1] FALSE
> R.version.string
[1] "R version 3.0.2 Patched (2013-11-25 r64299)"

I am using Windows 8.1 .

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



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