Skip to content
Prev 35296 / 63421 Next

Calendar week ISO (PR#14132)

Why are you reporting a POSIX standard feature missing in your OS as a 
bug in R?  (One that is even documented on the help page.)

On more comprehensive OSes you can use the %V format of strftime. 
You could compile a replacement for Windows' strftime and link it into 
your build of R, as we have done for so many other Windows lacunae.
Then in your example use as.integer(strftime(tmp.d, "%V"))
On Fri, 11 Dec 2009, samandrew at gmx.ch wrote:

            
That is simply false: R is not responsible for the lack of standards 
compliance of Windows, and filing a bug report with Microsoft would be 
much more appropriate.