[Rd] normalizePath bug (PR#13199)

Duncan Murdoch murdoch at stats.uwo.ca
Thu Oct 23 19:49:42 CEST 2008


On 10/23/2008 10:45 AM, joe at novelcap.com wrote:
> Full_Name: Joseph Haykov
> Version: 2.8.0
> OS: Windows
> Submission from: (NULL) (216.189.177.202)
> 
> 
> normalizePath("C:\\DOCUME~1\\JOSEPH~1\\LOCALS~1\\Temp\\RtmpolZ4Vy\\file72ae2cd6.txt")
> 
> returns: "\0354xl|\a\001 $v\001¨y8"
> 
> instead of returning:
> 
> "C:\\Documents and Settings\\Joseph Haykov\\Local
> Settings\\Temp\\RtmpolZ4Vy\\file72ae2cd6.txt"
> 
> By the way, this works correctly in version 2.6.2

I see the problem, and will look into it.  It first started failing in 
2.7.0; it's not a new bug.

But I'm not sure it's a bug, since that directory doesn't exist on my 
system, and the function is documented to give undefined results in that 
case.  Does that file exist on your system?

Duncan Murdoch



More information about the R-devel mailing list