Re: [R] fGarch and is.na()

2008-12-02 Thread Yohan Chalabi
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" <[EMAIL PROTECTED]>
 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=)?

__
R-help@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.


[R] fGarch and is.na()

2008-12-02 Thread Felix Lamp
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

__
R-help@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.