Skip to content
Prev 163617 / 398506 Next

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
I will forward you remark to the R-dev mailing list.

regards,
Yohan
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=)?