fGarch and is.na()
Thanks for the report, the problem boils down to the call of "methods:::bind_activation(TRUE)" in one of the depended package. I can reproduce the problem with
methods:::bind_activation(TRUE) dfr <- data.frame(matrix(0, nrow = 1 , ncol = 1000)) dfr2 <- is.na(dfr)
I will forward you remark to the R-dev mailing list. regards, Yohan
"FL" == "Felix Lamp" <lamp at few.eur.nl> on Tue, 2 Dec 2008 15:06:37 +0100
FL> Hello, FL> FL> after loading package "fGarch" the function is.na.data.frame() is behaving different: FL> FL> > sessionInfo() FL> R version 2.8.0 (2008-10-20) FL> i386-pc-mingw32 FL> FL> locale: FL> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 FL> FL> attached base packages: FL> [1] stats graphics grDevices utils datasets methods base FL> > FL> > dfr <- data.frame(matrix(0,nrow = 1 , ncol = 1000)) FL> > dfr2 <- is.na(dfr) FL> > FL> > require(fGarch) FL> Loading required package: fGarch FL> Loading required package: timeDate FL> Loading required package: timeSeries FL> Loading required package: fBasics FL> Loading required package: MASS FL> > FL> > dfr2 <- is.na(dfr) FL> Error: evaluation nested too deeply: infinite recursion / options(expressions=)?