Re: [R] dse package problems

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 24 Dec 2005 - 05:55:19 EST

These are actually all the same thing, infinite recursion in a print() method. (Even the third reports that for my system.) It appears to be the print.tframed method inside print.TSdata which fails to change the class (and this looks like a candidate for NextMethod).

You need to take it up with the package maintainer.

On Fri, 23 Dec 2005, Fernando Saldanha wrote:

> I am having problems with the package dse. I just installed R 2.2.1
> and reinstalled all packages. I am running Windows XP Pro with all
> updates.

I suspect you updated the dse _bundle_ in doing so.

> Below there are two examples of error messages generated when trying
> to execute some simple programs. The code was taken directly from the
> package documentation.
>
> Any help on this will be greatly appreciated.
>
> Merry Christmas
>
> Fernando
>
> ####################################
> # First Example
>
>> library("tframe")
> Loading required package: setRNG
>> library("dse1")
>
> Attaching package: 'dse1'
>
>
> The following object(s) are masked from package:stats :
>
> acf simulate
>
>> library("dse2")
>>
>> fileName <- system.file("otherdata", "eg1.dat", package="dse1")
>> eg1.DSE.data <- t(matrix(scan(fileName),5, 364))[, 2:5]
> Read 1820 items
>>
>> eg1.DSE.data <- TSdata(input= eg1.DSE.data[,1,drop = F], output=
> + eg1.DSE.data[, 2:4, drop = F])
>>
>> eg1.DSE.data # this is the troublemaking command
> input data:
> Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
>>
>
> ####################################
> # Second Example
>
> rary("tframe")
> Loading required package: setRNG
>> library("dse1")
>
> Attaching package: 'dse1'
>
>
> The following object(s) are masked from package:stats :
>
> acf simulate
>
>> library("dse2")
>>
>> AR <- array(c(1, 0.5, 0.3, 0, 0.2, 0.1, 0, 0.2, 0.05, 1, 0.5, 0.3), c(3, 2,
> + 2))
>> MA <- array(c(1, 0.2, 0, 0.1, 0, 0, 1, 0.3), c(2, 2, 2))
>> arma <- ARMA(A = AR, B = MA, C = NULL)
>> data.arma.sim <- simulate(arma)
>>
>> data.arma.sim
> output data:
> Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
>>
>
>
>
>
>
> #############################################################
>
> ##################################################################
> # Second Example
>
> library("tframe")
> library("dse1")
> library("dse2")
>
> AR <- array(c(1, 0.5, 0.3, 0, 0.2, 0.1, 0, 0.2, 0.05, 1, 0.5, 0.3), c(3, 2,
> 2))
> MA <- array(c(1, 0.2, 0, 0.1, 0, 0, 1, 0.3), c(2, 2, 2))
> arma <- ARMA(A = AR, B = MA, C = NULL)
> data.arma.sim <- simulate(arma)
>
> data.arma.sim # R crashes here
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Dec 24 06:01:26 2005

This archive was generated by hypermail 2.1.8 : Sat 24 Dec 2005 - 09:30:07 EST