Re: [R] urca package - summary method -

From: Pfaff, Bernhard Dr. <>
Date: Wed, 16 May 2007 16:45:56 +0100

> I am using the package urca and I am interested about the KPSS test.
> That works fine except the method "summary" did not work in
>the script,
> only when it is typed direct in the console the results are
>shown( not a
> source file).


which version of urca are using? The problem you mentioned has been fixed in November last last year (see R-Help, there is an extensive thread about the explicit loading of methods as well as the Changelog of urca:

2006-11-04 Dr. Bernhard Pfaff <>

I have checked again with:

<file kpsstest.R>
gnp <- na.omit(nporg[, "gnp.r"])
gnp.l <- log(gnp)
kpss.gnp <- ur.kpss(gnp.l, type="tau", lags="short") summary(kpss.gnp)
summary(ur.kpss(gnp.l, type="tau", lags="short")) <end file>


R CMD BATCH --no-restore kpsstest.R

which runs flawlessly. Hence, a simple update of 'urca' should solve your problem.


> Is there any problem with these method ?
> mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

Confidentiality Note: The information contained in this mess...{{dropped}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 16 May 2007 - 16:05:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 May 2007 - 16:31:07 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.