Re: [Rd] pacf lags

2003-09-08 Thread Paul Gilbert
Looking even more carefully, it seems both sampleT and the lag.max correction for nser need to be fixed: sampleT <- if (is.matrix(x)) nrow(x) else length(x) if (is.null(lag.max)) lag.max <- floor(10 * (log10(sampleT) - if (is.matrix(x)) log10(ncol(x)) else 0)) Paul Gilbert Pa

[Rd] R-devel on Solaris 8

2003-09-08 Thread Jeff Gentry
I'm having difficulty building R-devel on Solaris 8 (current version), while trying to update from my previous version of R-devel (2003-09-02). When building I get this error: --- make[4]: Leaving directory `/misc/homes/madman/R-devel/src/library/methods/src' make[4]: Entering director

Re: [Rd] pacf lags

2003-09-08 Thread Roger D. Peng
Try (in R-devel) getAnywhere("pacf.default") or even ts:::pacf.default -roger Paul Gilbert wrote: pacf in devel seems by default to return a different number of lags than 1.7.1 for $pacf. I don't see any mention of this in the NEWS file, or any change in the documentation, so I suspect

[Rd] pacf lags

2003-09-08 Thread Paul Gilbert
pacf in devel seems by default to return a different number of lags than 1.7.1 for $pacf. I don't see any mention of this in the NEWS file, or any change in the documentation, so I suspect it is and error, though it may be an undocumented improvement. (Newbie question: How is the simplest

Re: [Rd] Accuracy problems in summary()? (PR#4101)

2003-09-08 Thread maechler
A bug report with a "?" is **wrong**, almost by definition! (and your definitely is). Please ask questions on R-help. And this has become almost a FAQ. Note that sending bug-reports for non-bugs can be quite counter-productive. The waste of time it produces to R developers will not improve the q

Re: [Rd] namespaces and S4 methods/classes

2003-09-08 Thread John Chambers
Ross Ihaka wrote: > > John Chambers wrote: > > The current version of the methods package now has a namespace. Packages > > using S4 methods and classes can have NAMESPACE files. New directives > > can be included in NAMESPACE files to import and export classes and > > methods. > > Looking good!

[Rd] setAs() and namespaces

2003-09-08 Thread John Chambers
An example sent by Ross Ihaka points out a non-obvious step needed to export the results of setAs(). The as() mechanism can't use ordinary method dispatch because the second argument is the name of a class, not an object from the class. So it uses a "helper" function, coerce(), and sets methods f

[Rd] Accuracy problems in summary()? (PR#4101)

2003-09-08 Thread Graeme . Ambler
Full_Name: Graeme Ambler Version: 1.7.1 OS: Red Hat Linux 9 Submission from: (NULL) (137.222.80.161) There seems to be a curious accuracy-related problem in summary(). Try the following: test<-matrix(rnorm(2000),nc=2) summary(test) summary(test[,1]) The first use of summary() is fine. The sec