[Rd] acf segfault (PR#7771)

Duncan Murdoch murdoch at stats.uwo.ca
Mon Apr 4 22:58:34 CEST 2005


On Mon,  4 Apr 2005 17:15:29 +0200 (CEST), davidhughjones at gmail.com
wrote :

>Test case:
>z <- ts(matrix(rnorm(200),10,20), start=c(1961,1))
>acf(z,lag.max=1)
>
>This segfaults for me. Maybe it shouldn't?

This was a bug in the memory allocation in the C code, now fixed.
I've committed the fix to the beta and to the 2.0.1 patch version.

Duncan Murdoch



More information about the R-devel mailing list