Skip to content

fGarch and is.na()

2 messages · Felix Lamp, Yohan Chalabi

#
Hello,

after loading package "fGarch" the function is.na.data.frame() is behaving different:
R version 2.8.0 (2008-10-20) 
i386-pc-mingw32 

locale:
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

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
Loading required package: fGarch
Loading required package: timeDate
Loading required package: timeSeries
Loading required package: fBasics
Loading required package: MASS
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
I wonder whether this is intended.

Best,

Felix

________________________
Tinbergen Institute
P.O. Box 1738
3000 DR Rotterdam
#
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=)?