[Rd] Bug or undocumented behavior in normalizePath() with file system links on windows
David Korfkamp
d@v|d@kor|k@mp @end|ng |rom o|||@@de
Thu Jan 24 15:51:39 CET 2019
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.korfkamp using 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]]
More information about the R-devel
mailing list