Hello,

I discovered a bug or undocumented behavior in normalizePath

steps to reproduce:

execute normalizePath on a folder link on windows. When you are on a 
non-english windows box, you likely have links in place for windows' 
default folders, e.g. "C:\Programme" linking to "C:\Program Files" on 
german windows boxes.

Thus executing 'normalizePath("C:/Programme/R")' results in an "
path[1]="C:/Programme/R": Access is denied" error while 
'normalizePath("C:/Program Files/R")' yields the expected result. Just 
executing executing 'normalizePath("C:/Programme")' however also yields 
the expected result,

Cheers
David

-- 
M.Sc. David Korfkamp

OFFIS e.V. - Institut f�r Informatik
FuE Bereich Gesundheit | R&D Division Health
Escherweg 2, 26121 Oldenburg - Germany
Phone/Fax: +49 (0) 441 9722 346 / -111
E-Mail: david.korfk...@offis.de
URL: http://www.offis.de

Registergericht: Amtsgericht Oldenburg VR 1956 
Vorstand: Prof. Dr.-Ing. Wolfgang H. Nebel (Vorsitzender), Prof. Dr. 
techn. Susanne Boll-Westermann, Prof. Dr.-Ing. Axel Hahn, Prof. Dr.-Ing. 
Andreas Hein, Prof. Dr. Sebastian Lehnhoff 
        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to