Re: [Rd] Alphanumeric tools::file_path_sans_ext() (PR#14050)

2009-11-10 Thread Kurt Hornik
> arnima writes: > The file_path_sans_ext() function in the 'tools' package does not handle > alphanumeric file extensions correctly: >require(tools) >file_path_sans_ext("song.txt") # song, correct >file_path_sans_ext("song.mp3") # song.mp3, wrong > The help page states that

[Rd] Alphanumeric tools::file_path_sans_ext() (PR#14050)

2009-11-09 Thread arnima
The file_path_sans_ext() function in the 'tools' package does not handle alphanumeric file extensions correctly: require(tools) file_path_sans_ext("song.txt") # song, correct file_path_sans_ext("song.mp3") # song.mp3, wrong The help page states that "only purely alphanumeric extension