On 30/04/2010 1:17 PM, Matthias Rieber wrote:
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

Have you tried R-patched? This looks something like PR#14267 (https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14267) which has been fixed there.

Duncan

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to