[R] Problem with format(,"%G-%V") - Segfault

Matthias Rieber ml-r-project at zu-con.org
Fri Apr 30 19:17:29 CEST 2010


Hi,

I've some problems with the new R version converting date to year-week:

R version 2.11.0 (2010-04-22)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

 > load("test.data.R")
 > str(test.data)
Class 'Date'  num [1:3599546] 13888 14166 14188 14189 14189 ...
 > result <- format(test.data, format="%G-%V")
Error: segfault from C stack overflow
 >

this happens with a self compiled R version and the debian packages.
The same operation works with R 2.9.x and R 2.10.x

I've attached the backtrace.

kind regards,

Matthias



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backtrace.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100430/2a55e89c/attachment.txt>


More information about the R-help mailing list