Benjamin Tyner
2007-Oct-01 12:41 UTC
[R] corMatrix crashes R 2.5.1 (windows XP) with corARMA structure
R-helpers, n <- 100 arcoefs <- c(0.8) macoefs <- c(-0.6) p <- length(arcoefs) q <- length(macoefs) require(nlme) tmp <- corARMA(value=c(arcoefs,macoefs), form=~1, p=p, q=q) Sigma <- corMatrix(tmp, covariate = 1:n) # results in segfault Have I used these commands in an improper way? Thanks Ben
Uwe Ligges
2007-Oct-03 18:25 UTC
[R] corMatrix crashes R 2.5.1 (windows XP) with corARMA structure
This is reproducible with R-2.6.0 for me. You might want to report it to R-Core, the maintainer of that package. Uwe Ligges Benjamin Tyner wrote:> R-helpers, > > n <- 100 > arcoefs <- c(0.8) > macoefs <- c(-0.6) > p <- length(arcoefs) > q <- length(macoefs) > require(nlme) > tmp <- corARMA(value=c(arcoefs,macoefs), form=~1, p=p, q=q) > Sigma <- corMatrix(tmp, covariate = 1:n) # results in segfault > > Have I used these commands in an improper way? > > Thanks > Ben > > ______________________________________________ > R-help at 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.