[R] plotting spectrum of time series etc

Prof Brian D Ripley ripley at stats.ox.ac.uk
Tue Feb 1 17:33:22 CET 2000


> On Tue, 1 Feb 2000 zj at expert.cc.purdue.edu wrote:
> 
> > Hi, everyone, I tried to use "spectrum()" or "spec.pgram()" to get a
> > periodogram of a time series but they didn't work.
> > Even the examples given in the help file didn't work (all with the same
> > error message, below).

Then by definition you have a broken version of R. (R has been installed
properly if it passes `make check', and that includes running all the
examples in all the packages.) 

One possibility is that you have broken it by re-defining some system
functions in your user workspace: look at ?conflicts and/or try starting R
with --vanilla and running example(spectrum), as the first command.

Another is that you really do have a broken installation, so if you
compiled it yourself do run make check.

To go further you need to run traceback() to locate the error, and debug on
the function giving the error (plot.spec, apparently) to find out exactly
where the error is and what the variable values are.  If you can report
that to us and the version of R you are using we may be able to help more.


-- 
Brian D. Ripley,                  ripley at 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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list