[R] fGarch and is.na()

Felix Lamp lamp at few.eur.nl
Tue Dec 2 15:06:37 CET 2008


Hello,

after loading package "fGarch" the function is.na.data.frame() is behaving different:

> sessionInfo()
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     
> 
> dfr  <- data.frame(matrix(0,nrow = 1 , ncol = 1000))
> dfr2 <- is.na(dfr)
> 
> require(fGarch)
Loading required package: fGarch
Loading required package: timeDate
Loading required package: timeSeries
Loading required package: fBasics
Loading required package: MASS
> 
> dfr2 <- is.na(dfr)
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



More information about the R-help mailing list